Class: Readwise::DocumentCreate
- Inherits:
-
Struct
- Object
- Struct
- Readwise::DocumentCreate
- Defined in:
- lib/readwise/document.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#category ⇒ Object
Returns the value of attribute category.
-
#html ⇒ Object
Returns the value of attribute html.
-
#image_url ⇒ Object
Returns the value of attribute image_url.
-
#location ⇒ Object
Returns the value of attribute location.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#published_date ⇒ Object
Returns the value of attribute published_date.
-
#saved_using ⇒ Object
Returns the value of attribute saved_using.
-
#should_clean_html ⇒ Object
Returns the value of attribute should_clean_html.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def @author end |
#category ⇒ Object
Returns the value of attribute category
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def category @category end |
#html ⇒ Object
Returns the value of attribute html
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def html @html end |
#image_url ⇒ Object
Returns the value of attribute image_url
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def image_url @image_url end |
#location ⇒ Object
Returns the value of attribute location
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def location @location end |
#notes ⇒ Object
Returns the value of attribute notes
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def notes @notes end |
#published_date ⇒ Object
Returns the value of attribute published_date
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def published_date @published_date end |
#saved_using ⇒ Object
Returns the value of attribute saved_using
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def saved_using @saved_using end |
#should_clean_html ⇒ Object
Returns the value of attribute should_clean_html
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def should_clean_html @should_clean_html end |
#summary ⇒ Object
Returns the value of attribute summary
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def summary @summary end |
#tags ⇒ Object
Returns the value of attribute tags
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def @tags end |
#title ⇒ Object
Returns the value of attribute title
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def title @title end |
#url ⇒ Object
Returns the value of attribute url
118 119 120 |
# File 'lib/readwise/document.rb', line 118 def url @url end |
Instance Method Details
#serialize ⇒ Object
136 137 138 |
# File 'lib/readwise/document.rb', line 136 def serialize to_h.compact end |