Module: Igdb
- Defined in:
- lib/igdb_api.rb,
lib/igdb/version.rb
Defined Under Namespace
Modules: AlternativeNameRepresenter, BaseRepresenter, CharacterRepresenter, CollectionRepresenter, CompanyRepresenter, Configuration, Exception, FranchiseRepresenter, GameEngineRepresenter, GameModeRepresenter, GameRepresenter, GenreRepresenter, ImageRepresenter, KeywordRepresenter, PersonRepresenter, PlatformPresenter, PlayerPerspectiveRepresenter, PulseRepresenter, ReleaseDateRepresenter, ReviewRepresenter, ThemeRepresenter, VideoRepresenter
Classes: ApiResource, Character, Collection, Company, Franchise, Game, GameEngine, GameMode, Genre, Keyword, Person, Platform, PlayerPerspective, Pulse, ReleaseDate, Requester, Review, Theme
Constant Summary
collapse
- VERSION =
"0.8.0"
Class Method Summary
collapse
Class Method Details
.connect(api_key) ⇒ Object
54
55
56
57
58
|
# File 'lib/igdb_api.rb', line 54
def self.connect(api_key)
Igdb::Configuration::Api.instance.tap do |api|
api.connect(api_key)
end
end
|
.set_api_url(api_url) ⇒ Object
48
49
50
51
52
|
# File 'lib/igdb_api.rb', line 48
def self.set_api_url(api_url)
Igdb::Configuration::Api.instance.tap do |api|
api.set_api_url(api_url)
end
end
|