Class: Readwise::Tag
- Inherits:
-
Struct
- Object
- Struct
- Readwise::Tag
- Defined in:
- lib/readwise/tag.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#tag_id ⇒ Object
Returns the value of attribute tag_id.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/readwise/tag.rb', line 2 def name @name end |
#tag_id ⇒ Object
Returns the value of attribute tag_id
2 3 4 |
# File 'lib/readwise/tag.rb', line 2 def tag_id @tag_id end |
Instance Method Details
#serialize ⇒ Object
8 9 10 |
# File 'lib/readwise/tag.rb', line 8 def serialize to_h end |