Exception: Amazon::AsinNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/api_helpers/amazon.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, asin) ⇒ AsinNotFoundError

Returns a new instance of AsinNotFoundError.



9
10
11
12
# File 'lib/api_helpers/amazon.rb', line 9

def initialize(message, asin)
  super(message)
  @asin = asin
end

Instance Attribute Details

#asinObject (readonly)

Returns the value of attribute asin.



8
9
10
# File 'lib/api_helpers/amazon.rb', line 8

def asin
  @asin
end