Sha256: 726f613101418b3758214ee5632066773ea1fbbb71312ec9d56115d40bf3e3dd

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

# Requiring all dependencies needed
require "net/http"
require "net/http"
require "openssl"
require "uri"
require "Time"
require "digest/sha1"
require "json"
# Requiring all the other files to help us require this field only
require_relative "./gameball/utils/request"
require_relative "./gameball/utils/helper"
require_relative "./gameball/utils/validation"
require_relative "./gameball/models/player"
require_relative "./gameball/models/event"
require_relative "./gameball/models/transaction"
require_relative "./gameball/models/referral"
require_relative "./gameball/models/coupon"
require_relative "./gameball/models/action"
require_relative "./gameball/exceptions/gameballException"
require_relative "./gameball/lang"

module Gameball
  @api_base = "https://api.gameball.co"
  @max_retries = 1
  @read_timeout = 60
  @keep_alive_timeout = 30
  @api_version = "v2.0"
  class << self
    attr_accessor :api_key
    attr_reader :api_version
    attr_accessor :transaction_key
    attr_accessor :read_timeout
    attr_accessor :max_retries
    attr_reader :keep_alive_timeout
    attr_reader :api_base
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gameball-1.0.1 lib/gameball.rb