Sha256: 59a2d613519110bffe47396a2e4347d3142f265d1db6502d21d54f3dac7c1edb

Contents?: true

Size: 593 Bytes

Versions: 1

Compression:

Stored size: 593 Bytes

Contents

begin
  require "pry"
rescue StandardError; end # rubocop:disable Lint/HandleExceptions
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/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 InvalidRequestError < Error; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nintendo_eshop-0.1.0.alpha3 lib/nintendo_eshop.rb