Class: WorkOS::ResendUserInviteOptions

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/workos/user_management/resend_user_invite_options.rb

Constant Summary collapse

HASH_ATTRS =
{
  locale: :locale
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ ResendUserInviteOptions

Returns a new instance of ResendUserInviteOptions.



13
14
15
16
# File 'lib/workos/user_management/resend_user_invite_options.rb', line 13

def initialize(json)
  hash = self.class.normalize(json)
  @locale = hash[:locale]
end

Instance Attribute Details

#localeObject

Returns the value of attribute locale.



11
12
13
# File 'lib/workos/user_management/resend_user_invite_options.rb', line 11

def locale
  @locale
end