Class: Stash::Rewards::ApiWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/stash/rewards/api_wrapper.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, url_encoded = true) ⇒ ApiWrapper

Returns a new instance of ApiWrapper.



11
12
13
14
# File 'lib/stash/rewards/api_wrapper.rb', line 11

def initialize(config, url_encoded = true)
  @config = config
  @url_encoded = url_encoded
end