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 collaboratorRemote cart
As an API consumer
I want to manage a remote shopping cart
Because that has some business value.
- Scenarios
-
- Create a cart
-
- Given
-
the following:
@request = Sucker.new( :key => amazon_key, :secret => amazon_secret, :locale => :us) @request << { 'Operation' => 'CartCreate', 'Item.1.OfferListingId' => 'foobar', 'Item.1.Quantity' => 1 }
- When
-
I tape:
@response = @request.get
- Then
-
I expect:
@response.should be_valid @response['CartId'].size.should eql 1 @response['PurchaseURL'].size.should eql 1 @response['CartItem'].size.should eql 1
Last published over 5 years ago by hakanensari.