Sha256: e12f6cdcb97d2b985eb19c790d84fc1bbf8878ac7584947eb51f31ebdc8b0eeb
Contents?: true
Size: 641 Bytes
Versions: 1
Compression:
Stored size: 641 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper') require 'yaml' # import the namespace include Amazon::MWS class FeedTest < Test::Unit::TestCase def setup config = YAML.load_file( File.join(File.dirname(__FILE__), '../lib/amazon/mws.yml') ) AWS::MWS::Base.establish_connection!( config['production'] ) AWS::MWS::Base.debug = true end def test_request #response = Report.request(:flat_file_orders) #result = Report.request(:flat_file_orders, :start_date => Time.now, :end_date => Time.now.iso8601) result = Report.request_list puts result.inspect end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amazon-mws-0.1.0 | test/report_test.rb |