Class: Fizzy::Types::Step
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::Step
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#completed ⇒ Object
readonly
Returns the value of attribute completed.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Class Method Summary collapse
Instance Attribute Details
#completed ⇒ Object (readonly)
Returns the value of attribute completed
857 858 859 |
# File 'lib/fizzy/generated/types.rb', line 857 def completed @completed end |
#content ⇒ Object (readonly)
Returns the value of attribute content
857 858 859 |
# File 'lib/fizzy/generated/types.rb', line 857 def content @content end |
#id ⇒ Object (readonly)
Returns the value of attribute id
857 858 859 |
# File 'lib/fizzy/generated/types.rb', line 857 def id @id end |
Class Method Details
.from_json(data) ⇒ Object
859 860 861 862 863 864 865 |
# File 'lib/fizzy/generated/types.rb', line 859 def self.from_json(data) new( id: data["id"], content: data["content"], completed: data["completed"] ) end |