Module: Ebisu::Configuration

Extended by:
Configuration
Included in:
Configuration
Defined in:
lib/ebisu/client.rb

Constant Summary collapse

ATTRIBUTES =
%i[
  user_agent
  endpoint
  appid
  proxy
  logger
  timeout
  open_timeout
].freeze

Instance Method Summary collapse

Instance Method Details

#resetObject



21
22
23
24
25
26
27
28
29
# File 'lib/ebisu/client.rb', line 21

def reset
  self.endpoint = 'https://shopping.yahooapis.jp/ShoppingWebService/'
  self.user_agent = "YahooShopping Ruby Client/#{Ebisu::VERSION}"
  self.appid = nil
  self.proxy = nil
  self.logger = nil
  self.timeout = 10
  self.open_timeout = 5
end