Class: Readwise::Review
- Inherits:
-
Struct
- Object
- Struct
- Readwise::Review
- Defined in:
- lib/readwise/review.rb
Instance Attribute Summary collapse
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#highlights ⇒ Object
Returns the value of attribute highlights.
-
#id ⇒ Object
Returns the value of attribute id.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#completed ⇒ Object
Returns the value of attribute completed
2 3 4 |
# File 'lib/readwise/review.rb', line 2 def completed @completed end |
#highlights ⇒ Object
Returns the value of attribute highlights
2 3 4 |
# File 'lib/readwise/review.rb', line 2 def highlights @highlights end |
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/readwise/review.rb', line 2 def id @id end |
#url ⇒ Object
Returns the value of attribute url
2 3 4 |
# File 'lib/readwise/review.rb', line 2 def url @url end |
Instance Method Details
#completed? ⇒ Boolean
9 10 11 |
# File 'lib/readwise/review.rb', line 9 def completed? completed end |
#serialize ⇒ Object
13 14 15 |
# File 'lib/readwise/review.rb', line 13 def serialize to_h.compact end |