Class: Fizzy::Types::CreateColumnRequestContent
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::CreateColumnRequestContent
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
Returns the value of attribute color.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color
378 379 380 |
# File 'lib/fizzy/generated/types.rb', line 378 def color @color end |
#name ⇒ Object (readonly)
Returns the value of attribute name
378 379 380 |
# File 'lib/fizzy/generated/types.rb', line 378 def name @name end |
Class Method Details
.from_json(data) ⇒ Object
380 381 382 383 384 385 |
# File 'lib/fizzy/generated/types.rb', line 380 def self.from_json(data) new( name: data["name"], color: data["color"] ) end |