lib/sucker/parameters.rb in sucker-1.4.0 vs lib/sucker/parameters.rb in sucker-1.4.1
- old
+ new
@@ -1,12 +1,11 @@
module Sucker
class Parameters < ::Hash
- API_VERSION = '2010-11-01'
- SERVICE = 'AWSECommerceService'
+ CURRENT_API_VERSION = '2010-11-01'
def initialize
- self.store 'Service', SERVICE
- self.store 'Version', API_VERSION
+ self.store 'Service', 'AWSECommerceService'
+ self.store 'Version', CURRENT_API_VERSION
self.store 'Timestamp', timestamp
end
# Ensures all keys and values are strings and camelizes former.
def normalize