Module: RelicLink::Coh3

Defined in:
lib/relic_link/coh3/config.rb,
lib/relic_link/coh3/util.rb,
lib/relic_link/coh3/client.rb,
lib/relic_link/coh3/api/error.rb,
lib/relic_link/coh3/api/errors.rb,
lib/relic_link/coh3/api/endpoints.rb,
lib/relic_link/coh3/faraday/connection.rb,
lib/relic_link/coh3/api/endpoints/stats.rb,
lib/relic_link/coh3/api/endpoints/matches.rb,
lib/relic_link/coh3/api/endpoints/replays.rb,
lib/relic_link/coh3/faraday/response_mash.rb,
lib/relic_link/coh3/api/errors/relic_error.rb,
lib/relic_link/coh3/api/endpoints/leaderboards.rb,
lib/relic_link/coh3/api/endpoints/leaderboards/ids.rb,
lib/relic_link/coh3/api/endpoints/leaderboards/sort.rb,
lib/relic_link/coh3/faraday/response/raise_http_error.rb,
lib/relic_link/coh3/faraday/response/raise_stats_error.rb,
lib/relic_link/coh3/faraday/response/raise_replay_error.rb

Overview

Company of Heroes 3 API wrapper.

Defined Under Namespace

Modules: Api, Config, Faraday, Util Classes: Client

Class Method Summary collapse

Class Method Details

.configObject

Current config module.



33
34
35
# File 'lib/relic_link/coh3/config.rb', line 33

def config
  Config
end

.configureObject

Set configuration options. Can be set on the returned object directly or in a block.



28
29
30
# File 'lib/relic_link/coh3/config.rb', line 28

def configure
  block_given? ? yield(Config) : Config
end