Class: Fizzy::Types::AccountSettings
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::AccountSettings
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#auto_postpone_period_in_days ⇒ Object
readonly
Returns the value of attribute auto_postpone_period_in_days.
-
#cards_count ⇒ Object
readonly
Returns the value of attribute cards_count.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#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
#auto_postpone_period_in_days ⇒ Object (readonly)
Returns the value of attribute auto_postpone_period_in_days
53 54 55 |
# File 'lib/fizzy/generated/types.rb', line 53 def auto_postpone_period_in_days @auto_postpone_period_in_days end |
#cards_count ⇒ Object (readonly)
Returns the value of attribute cards_count
53 54 55 |
# File 'lib/fizzy/generated/types.rb', line 53 def cards_count @cards_count end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
53 54 55 |
# File 'lib/fizzy/generated/types.rb', line 53 def created_at @created_at end |
#id ⇒ Object (readonly)
Returns the value of attribute id
53 54 55 |
# File 'lib/fizzy/generated/types.rb', line 53 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
53 54 55 |
# File 'lib/fizzy/generated/types.rb', line 53 def name @name end |
Class Method Details
.from_json(data) ⇒ Object
55 56 57 58 59 60 61 62 63 |
# File 'lib/fizzy/generated/types.rb', line 55 def self.from_json(data) new( id: data["id"], name: data["name"], cards_count: data["cards_count"], created_at: data["created_at"], auto_postpone_period_in_days: data["auto_postpone_period_in_days"] ) end |