Class: Kindle::Remote::Highlight

Inherits:
Object
  • Object
show all
Defined in:
lib/kindle/remote/highlight.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
  @highlight = options[:highlight]
  @amazon_id = options[:amazon_id]
  @asin      = options[:asin]
end

Instance Attribute Details

#amazon_idObject

Returns the value of attribute amazon_id.



4
5
6
# File 'lib/kindle/remote/highlight.rb', line 4

def amazon_id
  @amazon_id
end

#asinObject

Returns the value of attribute asin.



4
5
6
# File 'lib/kindle/remote/highlight.rb', line 4

def asin
  @asin
end

#highlightObject

Returns the value of attribute highlight.



4
5
6
# File 'lib/kindle/remote/highlight.rb', line 4

def highlight
  @highlight
end