module VaingloryAPI

A Ruby libary wrapper for the Vainglory API

@author Chet Bortz

Constants

RELEASE_DATE

Release date of current version

VERSION

Current gem version

Public Class Methods

new(*args) click to toggle source

Alias for VaingloryAPI::Client constructor

@overload new(api_key, region)

@param api_key (String) your Vainglory API key
@param region (String) the short name for your specified Region shard

@param (see VaingloryAPI::Client#initialize) @example Initialize a new client

client = VaingloryAPI.new('API_KEY', 'na')

@return [VaingloryAPI::Client] an instance of the client @see VaingloryAPI::Client#initialize

# File lib/vainglory_api.rb, line 17
def new(*args)
  Client.new(*args)
end

Private Instance Methods

new(*args) click to toggle source

Alias for VaingloryAPI::Client constructor

@overload new(api_key, region)

@param api_key (String) your Vainglory API key
@param region (String) the short name for your specified Region shard

@param (see VaingloryAPI::Client#initialize) @example Initialize a new client

client = VaingloryAPI.new('API_KEY', 'na')

@return [VaingloryAPI::Client] an instance of the client @see VaingloryAPI::Client#initialize

# File lib/vainglory_api.rb, line 17
def new(*args)
  Client.new(*args)
end