Module: RawgApi

Defined in:
lib/rawg_api.rb,
lib/rawg_api/version.rb,
lib/rawg_api/clients/tags.rb,
lib/rawg_api/entities/tag.rb,
lib/rawg_api/clients/games.rb,
lib/rawg_api/configuration.rb,
lib/rawg_api/clients/genres.rb,
lib/rawg_api/clients/stores.rb,
lib/rawg_api/entities/genre.rb,
lib/rawg_api/entities/store.rb,
lib/rawg_api/clients/creators.rb,
lib/rawg_api/entities/creator.rb,
lib/rawg_api/clients/platforms.rb,
lib/rawg_api/entities/platform.rb,
lib/rawg_api/clients/developers.rb,
lib/rawg_api/clients/game/twich.rb,
lib/rawg_api/clients/publishers.rb,
lib/rawg_api/entities/developer.rb,
lib/rawg_api/entities/publisher.rb,
lib/rawg_api/clients/base_client.rb,
lib/rawg_api/clients/game/reddit.rb,
lib/rawg_api/clients/game/series.rb,
lib/rawg_api/clients/game/stores.rb,
lib/rawg_api/clients/tag_details.rb,
lib/rawg_api/clients/game/details.rb,
lib/rawg_api/clients/game/youtube.rb,
lib/rawg_api/entities/base_entity.rb,
lib/rawg_api/entities/game/entity.rb,
lib/rawg_api/entities/game/reddit.rb,
lib/rawg_api/entities/game/series.rb,
lib/rawg_api/entities/game/stores.rb,
lib/rawg_api/entities/game/twitch.rb,
lib/rawg_api/entities/tag_details.rb,
lib/rawg_api/clients/creator_roles.rb,
lib/rawg_api/clients/game/trailers.rb,
lib/rawg_api/entities/creator_role.rb,
lib/rawg_api/entities/game/details.rb,
lib/rawg_api/entities/game/youtube.rb,
lib/rawg_api/extensions/dry_monads.rb,
lib/rawg_api/clients/game/additions.rb,
lib/rawg_api/entities/game/trailers.rb,
lib/rawg_api/entities/game/additions.rb,
lib/rawg_api/clients/game/screenshots.rb,
lib/rawg_api/clients/parent_platforms.rb,
lib/rawg_api/entities/parent_platform.rb,
lib/rawg_api/clients/game/achievements.rb,
lib/rawg_api/clients/game/parent_games.rb,
lib/rawg_api/entities/game/screenshots.rb,
lib/rawg_api/entities/game/achievements.rb,
lib/rawg_api/entities/game/parent_games.rb,
lib/rawg_api/clients/game/suggested_games.rb,
lib/rawg_api/clients/game/development_team.rb,
lib/rawg_api/entities/game/suggested_games.rb,
lib/rawg_api/entities/game/development_team.rb

Defined Under Namespace

Modules: Clients, Entities, Extensions Classes: Configuration

Constant Summary collapse

VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



4
5
6
# File 'lib/rawg_api/configuration.rb', line 4

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



7
8
9
10
# File 'lib/rawg_api/configuration.rb', line 7

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end