Skip to content

Commit

Permalink
Update gemspec + Feed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachasse committed Jun 11, 2013
1 parent 929aa9b commit 2cf502f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
18 changes: 14 additions & 4 deletions amazon-mws.gemspec
Expand Up @@ -38,6 +38,7 @@ Gem::Specification.new do |s|
"examples/xml/request_report.xml",
"examples/xml/submit_feed.xml",
"examples/xml/update_report_acknowledgements.xml",
"examples/xsd/FulfillmentCenter.xsd",
"examples/xsd/Inventory.xsd",
"examples/xsd/Item.xsd",
"examples/xsd/Listings.xsd",
Expand All @@ -49,23 +50,32 @@ Gem::Specification.new do |s|
"examples/xsd/ProcessingReport.xsd",
"examples/xsd/Product.xsd",
"examples/xsd/Product/AutoAccessory.xsd",
"examples/xsd/Product/Books.xsd",
"examples/xsd/Product/Beauty.xsd",
"examples/xsd/Product/CE.xsd",
"examples/xsd/Product/ClothingAccessories.xsd",
"examples/xsd/Product/Computers.xsd",
"examples/xsd/Product/EntertainmentCollectibles.xsd",
"examples/xsd/Product/CameraPhoto.xsd",
"examples/xsd/Product/FoodAndBeverages.xsd",
"examples/xsd/Product/Gourmet.xsd",
"examples/xsd/Product/FoodServiceAndJanSan.xsd",
"examples/xsd/Product/GiftCards.xsd",
"examples/xsd/Product/Health.xsd",
"examples/xsd/Product/Home.xsd",
"examples/xsd/Product/HomeImprovement.xsd",
"examples/xsd/Product/Jewelry.xsd",
"examples/xsd/Product/Miscellaneous.xsd",
"examples/xsd/Product/LabSupplies.xsd",
"examples/xsd/Product/Lighting.xsd",
"examples/xsd/Product/MusicalInstruments.xsd",
"examples/xsd/Product/Office.xsd",
"examples/xsd/Product/PetSupplies.xsd",
"examples/xsd/Product/ProductClothing.xsd",
"examples/xsd/Product/SWVG.xsd",
"examples/xsd/Product/PowerTransmission.xsd",
"examples/xsd/Product/RawMaterials.xsd",
"examples/xsd/Product/Shoes.xsd",
"examples/xsd/Product/Sports.xsd",
"examples/xsd/Product/TiresAndWheels.xsd",
"examples/xsd/Product/Tools.xsd",
"examples/xsd/Product/Toys.xsd",
"examples/xsd/Product/ToysBaby.xsd",
"examples/xsd/Product/Wireless.xsd",
"examples/xsd/ProductImage.xsd",
Expand Down
13 changes: 6 additions & 7 deletions lib/amazon/mws/feed.rb
Expand Up @@ -7,12 +7,11 @@ module Feed
# The SubmitFeed operation uploads a file for processing together with
# the necessary metadata to process the file.

# Amazon MWS limits calls to 1,000 total calls per hour per seller
# account. For best performance, you should limit your calls to
# SubmitFeed to no more than three feeds per hour per seller account,
# although you can successfully call SubmitFeed up to 30 times per
# hour. Feed size is limited to 2,147,483,647 bytes (2^32 -1) per
# feed.
# Amazon MWS sets a request quota at a maximum of 15 requests per seller
# account. These restore at one request per minute. For best performance,
# you should limit your calls to SubmitFeed. It is recomennded that you
# submit fewer, but larger feeds. Feed size is limited to 2,147,483,647
# bytes (2^32 -1) per feed.

def submit_feed(feed_type, message_type, message = {})
message_type= message_type.to_s.camelize
Expand Down Expand Up @@ -220,4 +219,4 @@ def get_feed_submission_result(feed_submission_id)
# Feed

end
end
end

0 comments on commit 2cf502f

Please sign in to comment.