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
832 833 834 |
# File 'lib/fizzy/generated/types.rb', line 832 def html @html end |
#plain_text ⇒ Object (readonly)
Returns the value of attribute plain_text
832 833 834 |
# File 'lib/fizzy/generated/types.rb', line 832 def plain_text @plain_text end |
Class Method Details
.from_json(data) ⇒ Object
834 835 836 837 838 839 |
# File 'lib/fizzy/generated/types.rb', line 834 def self.from_json(data) new( plain_text: data["plain_text"], html: data["html"] ) end |