Sha256: 3a95b399ac9fb9cfc348167ff1032ad78a32ab38bac33a51dfcded07a7d08ae8

Contents?: true

Size: 698 Bytes

Versions: 1

Compression:

Stored size: 698 Bytes

Contents

begin
  require "pry"
rescue Exception; end # rubocop:disable Lint/HandleExceptions, Lint/RescueException
require "json"
require "net/http"

require_relative "nintendo_eshop/api_client"
require_relative "nintendo_eshop/api_request"
require_relative "nintendo_eshop/game"
require_relative "nintendo_eshop/games_list"
require_relative "nintendo_eshop/version"

module NintendoEshop
  class << self
    attr_accessor :api_key
    attr_accessor :app_id
    attr_accessor :base_url

    attr_writer :client

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

  class Error < StandardError; end
  class InvalidArgumentError < Error; end
  class InvalidRequestError < Error; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nintendo_eshop-0.1.1 lib/nintendo_eshop.rb