Class: Fizzy::Types::RichTextBody
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::RichTextBody
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#html ⇒ Object
readonly
Returns the value of attribute html.
-
#plain_text ⇒ Object
readonly
Returns the value of attribute plain_text.
Class Method Summary collapse
Instance Attribute Details
#html ⇒ Object (readonly)
Returns the value of attribute html
843 844 845 |
# File 'lib/fizzy/generated/types.rb', line 843 def html @html end |
#plain_text ⇒ Object (readonly)
Returns the value of attribute plain_text
843 844 845 |
# File 'lib/fizzy/generated/types.rb', line 843 def plain_text @plain_text end |
Class Method Details
.from_json(data) ⇒ Object
845 846 847 848 849 850 |
# File 'lib/fizzy/generated/types.rb', line 845 def self.from_json(data) new( plain_text: data["plain_text"], html: data["html"] ) end |