Class: Readwise::HighlightUpdate
- Inherits:
-
Struct
- Object
- Struct
- Readwise::HighlightUpdate
- Defined in:
- lib/readwise/highlight.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#location ⇒ Object
Returns the value of attribute location.
-
#note ⇒ Object
Returns the value of attribute note.
-
#text ⇒ Object
Returns the value of attribute text.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color
70 71 72 |
# File 'lib/readwise/highlight.rb', line 70 def color @color end |
#location ⇒ Object
Returns the value of attribute location
70 71 72 |
# File 'lib/readwise/highlight.rb', line 70 def location @location end |
#note ⇒ Object
Returns the value of attribute note
70 71 72 |
# File 'lib/readwise/highlight.rb', line 70 def note @note end |
#text ⇒ Object
Returns the value of attribute text
70 71 72 |
# File 'lib/readwise/highlight.rb', line 70 def text @text end |
#url ⇒ Object
Returns the value of attribute url
70 71 72 |
# File 'lib/readwise/highlight.rb', line 70 def url @url end |
Instance Method Details
#serialize ⇒ Object
79 80 81 |
# File 'lib/readwise/highlight.rb', line 79 def serialize to_h.compact end |