Class: Fizzy::Types::Identity
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::Identity
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#accounts ⇒ Object
readonly
Returns the value of attribute accounts.
-
#email_address ⇒ Object
readonly
Returns the value of attribute email_address.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#accounts ⇒ Object (readonly)
Returns the value of attribute accounts
595 596 597 |
# File 'lib/fizzy/generated/types.rb', line 595 def accounts @accounts end |
#email_address ⇒ Object (readonly)
Returns the value of attribute email_address
595 596 597 |
# File 'lib/fizzy/generated/types.rb', line 595 def email_address @email_address end |
#id ⇒ Object (readonly)
Returns the value of attribute id
595 596 597 |
# File 'lib/fizzy/generated/types.rb', line 595 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
595 596 597 |
# File 'lib/fizzy/generated/types.rb', line 595 def name @name end |
Class Method Details
.from_json(data) ⇒ Object
597 598 599 600 601 602 603 604 |
# File 'lib/fizzy/generated/types.rb', line 597 def self.from_json(data) new( id: data["id"], name: data["name"], email_address: data["email_address"], accounts: data["accounts"] ) end |