Module: AppfiguresClient

Defined in:
lib/appfigures_client.rb,
lib/appfigures_client/api.rb,
lib/appfigures_client/version.rb,
lib/appfigures_client/net/request.rb,
lib/appfigures_client/endpoints/ads.rb,
lib/appfigures_client/endpoints/data.rb,
lib/appfigures_client/endpoints/ranks.rb,
lib/appfigures_client/endpoints/sales.rb,
lib/appfigures_client/endpoints/reviews.rb,
lib/appfigures_client/endpoints/endpoint.rb,
lib/appfigures_client/endpoints/products.rb

Defined Under Namespace

Modules: Endpoints, Net Classes: Api

Constant Summary collapse

VERSION =
'0.0.2'

Class Method Summary collapse

Class Method Details

.init(username, password, client_key) ⇒ Object



19
20
21
22
23
# File 'lib/appfigures_client.rb', line 19

def self.init(username, password, client_key)

  Api.new({username: username, password: password, client_key: client_key})

end

.rootObject



15
16
17
# File 'lib/appfigures_client.rb', line 15

def self.root
  File.expand_path '../..', __FILE__
end