Class: Fizzy::Types::AccountExport
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::AccountExport
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#download_url ⇒ Object
readonly
Returns the value of attribute download_url.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Class Method Summary collapse
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
40 41 42 |
# File 'lib/fizzy/generated/types.rb', line 40 def created_at @created_at end |
#download_url ⇒ Object (readonly)
Returns the value of attribute download_url
40 41 42 |
# File 'lib/fizzy/generated/types.rb', line 40 def download_url @download_url end |
#id ⇒ Object (readonly)
Returns the value of attribute id
40 41 42 |
# File 'lib/fizzy/generated/types.rb', line 40 def id @id end |
#status ⇒ Object (readonly)
Returns the value of attribute status
40 41 42 |
# File 'lib/fizzy/generated/types.rb', line 40 def status @status end |
Class Method Details
.from_json(data) ⇒ Object
42 43 44 45 46 47 48 49 |
# File 'lib/fizzy/generated/types.rb', line 42 def self.from_json(data) new( id: data["id"], status: data["status"], created_at: data["created_at"], download_url: data["download_url"] ) end |