Module: RatingChgkV2
- Defined in:
- lib/rating_chgk_v2.rb,
lib/rating_chgk_v2/rest.rb,
lib/rating_chgk_v2/error.rb,
lib/rating_chgk_v2/client.rb,
lib/rating_chgk_v2/request.rb,
lib/rating_chgk_v2/version.rb,
lib/rating_chgk_v2/connection.rb,
lib/rating_chgk_v2/rest/teams.rb,
lib/rating_chgk_v2/rest/towns.rb,
lib/rating_chgk_v2/rest/venues.rb,
lib/rating_chgk_v2/json_handler.rb,
lib/rating_chgk_v2/rest/players.rb,
lib/rating_chgk_v2/rest/regions.rb,
lib/rating_chgk_v2/rest/seasons.rb,
lib/rating_chgk_v2/rest/releases.rb,
lib/rating_chgk_v2/rest/countries.rb,
lib/rating_chgk_v2/rest/tournaments.rb,
lib/rating_chgk_v2/rest/venue_types.rb,
lib/rating_chgk_v2/models/base_model.rb,
lib/rating_chgk_v2/models/team_model.rb,
lib/rating_chgk_v2/models/town_model.rb,
lib/rating_chgk_v2/concerns/paginated.rb,
lib/rating_chgk_v2/models/venue_model.rb,
lib/rating_chgk_v2/utils/string_utils.rb,
lib/rating_chgk_v2/models/player_model.rb,
lib/rating_chgk_v2/models/region_model.rb,
lib/rating_chgk_v2/models/season_model.rb,
lib/rating_chgk_v2/models/country_model.rb,
lib/rating_chgk_v2/models/release_model.rb,
lib/rating_chgk_v2/rest/tournament_flags.rb,
lib/rating_chgk_v2/rest/tournament_types.rb,
lib/rating_chgk_v2/endpoints/base_endpoint.rb,
lib/rating_chgk_v2/models/tournament_model.rb,
lib/rating_chgk_v2/models/venue_type_model.rb,
lib/rating_chgk_v2/endpoints/teams_endpoint.rb,
lib/rating_chgk_v2/endpoints/towns_endpoint.rb,
lib/rating_chgk_v2/endpoints/venues_endpoint.rb,
lib/rating_chgk_v2/rest/authentication_token.rb,
lib/rating_chgk_v2/endpoints/players_endpoint.rb,
lib/rating_chgk_v2/endpoints/regions_endpoint.rb,
lib/rating_chgk_v2/endpoints/seasons_endpoint.rb,
lib/rating_chgk_v2/models/player_season_model.rb,
lib/rating_chgk_v2/collections/base_collection.rb,
lib/rating_chgk_v2/endpoints/releases_endpoint.rb,
lib/rating_chgk_v2/collections/teams_collection.rb,
lib/rating_chgk_v2/collections/towns_collection.rb,
lib/rating_chgk_v2/endpoints/countries_endpoint.rb,
lib/rating_chgk_v2/models/team_tournament_model.rb,
lib/rating_chgk_v2/models/tournament_flag_model.rb,
lib/rating_chgk_v2/models/tournament_type_model.rb,
lib/rating_chgk_v2/collections/venues_collection.rb,
lib/rating_chgk_v2/rest/tournament_synch_appeals.rb,
lib/rating_chgk_v2/collections/players_collection.rb,
lib/rating_chgk_v2/collections/regions_collection.rb,
lib/rating_chgk_v2/collections/seasons_collection.rb,
lib/rating_chgk_v2/endpoints/tournaments_endpoint.rb,
lib/rating_chgk_v2/endpoints/venue_types_endpoint.rb,
lib/rating_chgk_v2/models/player_tournament_model.rb,
lib/rating_chgk_v2/models/tournament_result_model.rb,
lib/rating_chgk_v2/rest/tournament_synch_requests.rb,
lib/rating_chgk_v2/collections/releases_collection.rb,
lib/rating_chgk_v2/collections/countries_collection.rb,
lib/rating_chgk_v2/models/authentication_token_model.rb,
lib/rating_chgk_v2/collections/tournaments_collection.rb,
lib/rating_chgk_v2/collections/venue_types_collection.rb,
lib/rating_chgk_v2/endpoints/tournament_flags_endpoint.rb,
lib/rating_chgk_v2/endpoints/tournament_types_endpoint.rb,
lib/rating_chgk_v2/models/tournament_synch_appeal_model.rb,
lib/rating_chgk_v2/rest/tournament_synch_controversials.rb,
lib/rating_chgk_v2/collections/player_seasons_collection.rb,
lib/rating_chgk_v2/models/tournament_synch_request_model.rb,
lib/rating_chgk_v2/collections/team_tournaments_collection.rb,
lib/rating_chgk_v2/collections/tournament_flags_collection.rb,
lib/rating_chgk_v2/collections/tournament_types_collection.rb,
lib/rating_chgk_v2/endpoints/authentication_token_endpoint.rb,
lib/rating_chgk_v2/collections/player_tournaments_collection.rb,
lib/rating_chgk_v2/collections/tournament_appeals_collection.rb,
lib/rating_chgk_v2/collections/tournament_results_collection.rb,
lib/rating_chgk_v2/collections/tournament_requests_collection.rb,
lib/rating_chgk_v2/endpoints/tournament_synch_appeals_endpoint.rb,
lib/rating_chgk_v2/models/tournament_synch_controversial_model.rb,
lib/rating_chgk_v2/endpoints/tournament_synch_requests_endpoint.rb,
lib/rating_chgk_v2/endpoints/tournament_synch_controversials_endpoint.rb
Defined Under Namespace
Modules: Collections, Concerns, Connection, Endpoints, JsonHandler, Models, Request, Rest, Utils
Classes: Client, Error
Constant Summary
collapse
- VERSION =
'1.6.0'
Class Method Summary
collapse
Class Method Details
.client(token: '', params: {}) ⇒ Object
15
16
17
|
# File 'lib/rating_chgk_v2.rb', line 15
def client(token: '', params: {})
@client = RatingChgkV2::Client.new token: token, params: params
end
|
.reset_client! ⇒ Object
19
20
21
|
# File 'lib/rating_chgk_v2.rb', line 19
def reset_client!
@client = nil
end
|