Module: NintendoEshop

Defined in:
lib/nintendo_eshop.rb,
lib/nintendo_eshop/game.rb,
lib/nintendo_eshop/version.rb,
lib/nintendo_eshop/api_client.rb,
lib/nintendo_eshop/games_list.rb,
lib/nintendo_eshop/api_request.rb

Defined Under Namespace

Classes: APIClient, APIRequest, Error, Game, GamesList, InvalidArgumentError, InvalidRequestError

Constant Summary collapse

VERSION =
"0.2.1".freeze

Class Attribute Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



16
17
18
# File 'lib/nintendo_eshop.rb', line 16

def api_key
  @api_key
end

.app_idObject

Returns the value of attribute app_id.



17
18
19
# File 'lib/nintendo_eshop.rb', line 17

def app_id
  @app_id
end

.base_urlObject

Returns the value of attribute base_url.



18
19
20
# File 'lib/nintendo_eshop.rb', line 18

def base_url
  @base_url
end

.clientObject



22
23
24
# File 'lib/nintendo_eshop.rb', line 22

def client
  @client ||= NintendoEshop::APIClient
end