Class: Fizzy::Types::Column
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::Column
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#cards_url ⇒ Object
readonly
Returns the value of attribute cards_url.
-
#color ⇒ Object
readonly
Returns the value of attribute color.
-
#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
#cards_url ⇒ Object (readonly)
Returns the value of attribute cards_url
260 261 262 |
# File 'lib/fizzy/generated/types.rb', line 260 def cards_url @cards_url end |
#color ⇒ Object (readonly)
Returns the value of attribute color
260 261 262 |
# File 'lib/fizzy/generated/types.rb', line 260 def color @color end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
260 261 262 |
# File 'lib/fizzy/generated/types.rb', line 260 def created_at @created_at end |
#id ⇒ Object (readonly)
Returns the value of attribute id
260 261 262 |
# File 'lib/fizzy/generated/types.rb', line 260 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
260 261 262 |
# File 'lib/fizzy/generated/types.rb', line 260 def name @name end |
Class Method Details
.from_json(data) ⇒ Object
262 263 264 265 266 267 268 269 270 |
# File 'lib/fizzy/generated/types.rb', line 262 def self.from_json(data) new( id: data["id"], name: data["name"], color: data["color"], created_at: data["created_at"], cards_url: data["cards_url"] ) end |