Class: WorkOS::CreateItContact
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::CreateItContact
- Defined in:
- lib/workos/organizations/create_it_contact.rb
Constant Summary collapse
- HASH_ATTRS =
{ email: :email }.freeze
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
Instance Method Summary collapse
-
#initialize(json) ⇒ CreateItContact
constructor
A new instance of CreateItContact.
Constructor Details
#initialize(json) ⇒ CreateItContact
Returns a new instance of CreateItContact.
13 14 15 16 |
# File 'lib/workos/organizations/create_it_contact.rb', line 13 def initialize(json) hash = self.class.normalize(json) @email = hash[:email] end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
11 12 13 |
# File 'lib/workos/organizations/create_it_contact.rb', line 11 def email @email end |