lib/ebay/merchandising.rb in ebay-ruby-0.3.2 vs lib/ebay/merchandising.rb in ebay-ruby-0.3.3
- old
+ new
@@ -15,26 +15,26 @@
self.endpoint = 'https://svcs.ebay.com/MerchandisingService'
# @return [String]
attr_reader :consumer_id
- # @return [String, nil]
+ # @return [String]
attr_reader :global_id
- # @return [String, nil]
+ # @return [String]
attr_reader :response_data_format
- # @return [String, nil]
+ # @return [String]
attr_reader :service_version
# Returns a Finding API request instance
#
# @param [String] consumer_id
# @param [String] global_id
# @param [String] response_data_format
# @param [String] service_version
def initialize(consumer_id: Config.app_id, global_id: nil,
- response_data_format: 'JSON', service_version: nil)
+ response_data_format: nil, service_version: nil)
@consumer_id = consumer_id
@global_id = global_id
@response_data_format = response_data_format
@service_version = service_version
end