Class: Fizzy::Types::CreateCommentRequestContent
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::CreateCommentRequestContent
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
Class Method Summary collapse
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
416 417 418 |
# File 'lib/fizzy/generated/types.rb', line 416 def body @body end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
416 417 418 |
# File 'lib/fizzy/generated/types.rb', line 416 def created_at @created_at end |
Class Method Details
.from_json(data) ⇒ Object
418 419 420 421 422 423 |
# File 'lib/fizzy/generated/types.rb', line 418 def self.from_json(data) new( body: data["body"], created_at: data["created_at"] ) end |