Sha256: 82a92f8efaa00c0129b2c42265e9d0ff9b9a83ab4049cf8d1e9dadb43811b45c

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 KB

Contents

# Requiring all dependencies needed
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/models/order"
require_relative "./gameball/models/leaderboard"
require_relative "./gameball/models/notifications"
require_relative "./gameball/models/configurations"
require_relative "./gameball/exceptions/gameballException"

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_accessor :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

4 entries across 4 versions & 1 rubygems

Version Path
gameball-2.1.4 lib/gameball.rb
gameball-2.1.1 lib/gameball.rb
gameball-2.0.1 lib/gameball.rb
gameball-2.0.0 lib/gameball.rb