Class: Rafflesia::CreateOrganizationRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CreateOrganizationRequest
- Defined in:
- lib/rafflesia/auth/create_organization_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ name: :name }.freeze
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(json) ⇒ CreateOrganizationRequest
constructor
A new instance of CreateOrganizationRequest.
Constructor Details
#initialize(json) ⇒ CreateOrganizationRequest
Returns a new instance of CreateOrganizationRequest.
14 15 16 17 18 |
# File 'lib/rafflesia/auth/create_organization_request.rb', line 14 def initialize(json) super() hash = self.class.normalize(json) @name = hash[:name] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/rafflesia/auth/create_organization_request.rb', line 12 def name @name end |