Module: SupermarketApi

Defined in:
lib/supermarketapi.rb,
lib/supermarketapi/client.rb,
lib/supermarketapi/default.rb,
lib/supermarketapi/client/tools.rb,
lib/supermarketapi/client/users.rb,
lib/supermarketapi/client/cookbook.rb

Defined Under Namespace

Modules: Default Classes: Client

Class Method Summary collapse

Class Method Details

.client(options = {}) ⇒ Object



10
11
12
13
# File 'lib/supermarketapi.rb', line 10

def client(options={})
  @client = SupermarketApi::Client.new(options) unless @client
  @client
end