Class: RewardStation::StubClient

Inherits:
Client
  • Object
show all
Defined in:
lib/reward_station/stub_client.rb

Instance Attribute Summary

Attributes inherited from Client

#token

Instance Method Summary collapse

Methods inherited from Client

#award_points, #create_user, get_client, logger, #logger, #new_token_callback, #return_point_summary, #return_popular_products, #return_token, #return_user, stub, #update_user

Constructor Details

#initialize(responses = {}) ⇒ StubClient

Returns a new instance of StubClient.



4
5
6
# File 'lib/reward_station/stub_client.rb', line 4

def initialize responses = {}
  @responses = {}
end