9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/AmazonMarketplace/Yml.rb', line 9
def self.load
AmazonMarketplace::Service.environment = @@yml['environment']
AmazonMarketplace::Service.access_key = @@yml['accessKey']
AmazonMarketplace::Service.secret_key = @@yml['secretKey']
AmazonMarketplace::Service.signature_method = @@yml['signatureMethod']
AmazonMarketplace::Services::MarketplacePolicy.return_url = @@yml['marketplace_policy']['returnUrl']
AmazonMarketplace::Services::Marketplace.abandon_url = @@yml['marketplace']['abandonUrl']
AmazonMarketplace::Services::Marketplace.return_url = @@yml['marketplace']['returnUrl']
AmazonMarketplace::Services::Marketplace.immediate_return = @@yml['marketplace']['immediateReturn']
AmazonMarketplace::Services::Marketplace.process_immediate = @@yml['marketplace']['processImmediate']
AmazonMarketplace::Services::Marketplace.ipn_url = @@yml['marketplace']['ipnUrl']
AmazonMarketplace::Services::Marketplace.collect_shipping_address = @@yml['marketplace']['collectShippingAddress']
end
|