Class: Readwise::HighlightCreate
- Inherits:
-
Struct
- Object
- Struct
- Readwise::HighlightCreate
- Defined in:
- lib/readwise/highlight.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#category ⇒ Object
Returns the value of attribute category.
-
#highlight_url ⇒ Object
Returns the value of attribute highlight_url.
-
#highlighted_at ⇒ Object
Returns the value of attribute highlighted_at.
-
#image_url ⇒ Object
Returns the value of attribute image_url.
-
#location ⇒ Object
Returns the value of attribute location.
-
#location_type ⇒ Object
Returns the value of attribute location_type.
-
#note ⇒ Object
Returns the value of attribute note.
-
#source_type ⇒ Object
Returns the value of attribute source_type.
-
#source_url ⇒ Object
Returns the value of attribute source_url.
-
#text ⇒ Object
Returns the value of attribute text.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def @author end |
#category ⇒ Object
Returns the value of attribute category
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def category @category end |
#highlight_url ⇒ Object
Returns the value of attribute highlight_url
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def highlight_url @highlight_url end |
#highlighted_at ⇒ Object
Returns the value of attribute highlighted_at
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def highlighted_at @highlighted_at end |
#image_url ⇒ Object
Returns the value of attribute image_url
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def image_url @image_url end |
#location ⇒ Object
Returns the value of attribute location
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def location @location end |
#location_type ⇒ Object
Returns the value of attribute location_type
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def location_type @location_type end |
#note ⇒ Object
Returns the value of attribute note
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def note @note end |
#source_type ⇒ Object
Returns the value of attribute source_type
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def source_type @source_type end |
#source_url ⇒ Object
Returns the value of attribute source_url
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def source_url @source_url end |
#text ⇒ Object
Returns the value of attribute text
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def text @text end |
#title ⇒ Object
Returns the value of attribute title
48 49 50 |
# File 'lib/readwise/highlight.rb', line 48 def title @title end |
Instance Method Details
#serialize ⇒ Object
65 66 67 |
# File 'lib/readwise/highlight.rb', line 65 def serialize to_h.compact end |