Sha256: 7b89b4811f0b715f85aa150037107b67eee436bca2f0fba84734b67b18b83e98

Contents?: true

Size: 1.27 KB

Versions: 1

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.dev.gameball.app/"
  @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

1 entries across 1 versions & 1 rubygems

Version Path
gameball-2.1.3 lib/gameball.rb