To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorItem lookup
As an API consumer
I want to look up items
Because that has some business value.
- Background
-
- Given
-
the following:
@request = Sucker.new( :key => amazon_key, :secret => amazon_secret, :locale => :us)
- Scenarios
-
- Single item
-
- Given
-
the following:
@request << { :operation => 'ItemLookup', :id_type => 'ASIN', :item_id => '0816614024' }
- When
-
I tape:
@response = @request.get
- Then
-
I expect:
@response['Item'].size.should eql 1
- Error
-
- Given
-
the following:
@request << { :operation => 'ItemLookup', :id_type => 'ASIN', :item_id => '0007218095' }
- When
-
I tape:
@response = @request.get
- Then
-
I expect:
@response.errors.size.should eql 1 error = @response.errors.first error['Message'].should include 'not a valid value'
Last published over 7 years ago by hakanensari.