Class: Kindle::Remote::Highlight
- Inherits:
-
Object
- Object
- Kindle::Remote::Highlight
- Defined in:
- lib/kindle/remote/highlight.rb
Instance Attribute Summary collapse
-
#amazon_id ⇒ Object
Returns the value of attribute amazon_id.
-
#asin ⇒ Object
Returns the value of attribute asin.
-
#highlight ⇒ Object
Returns the value of attribute highlight.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Highlight
constructor
A new instance of Highlight.
Constructor Details
#initialize(options = {}) ⇒ Highlight
Returns a new instance of Highlight.
5 6 7 8 9 |
# File 'lib/kindle/remote/highlight.rb', line 5 def initialize( = {}) @highlight = [:highlight] @amazon_id = [:amazon_id] @asin = [:asin] end |
Instance Attribute Details
#amazon_id ⇒ Object
Returns the value of attribute amazon_id.
4 5 6 |
# File 'lib/kindle/remote/highlight.rb', line 4 def amazon_id @amazon_id end |
#asin ⇒ Object
Returns the value of attribute asin.
4 5 6 |
# File 'lib/kindle/remote/highlight.rb', line 4 def asin @asin end |
#highlight ⇒ Object
Returns the value of attribute highlight.
4 5 6 |
# File 'lib/kindle/remote/highlight.rb', line 4 def highlight @highlight end |