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
405 406 407 |
# File 'lib/fizzy/generated/types.rb', line 405 def body @body end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
405 406 407 |
# File 'lib/fizzy/generated/types.rb', line 405 def created_at @created_at end |
Class Method Details
.from_json(data) ⇒ Object
407 408 409 410 411 412 |
# File 'lib/fizzy/generated/types.rb', line 407 def self.from_json(data) new( body: data["body"], created_at: data["created_at"] ) end |