Module: Kuapir
- Defined in:
- lib/kuapir/api_error.rb,
lib/kuapir.rb,
lib/kuapir/version.rb,
lib/kuapir/api_client.rb,
lib/kuapir/models/fact.rb,
lib/kuapir/models/film.rb,
lib/kuapir/models/genre.rb,
lib/kuapir/api/films_api.rb,
lib/kuapir/api/staff_api.rb,
lib/kuapir/configuration.rb,
lib/kuapir/models/season.rb,
lib/kuapir/models/company.rb,
lib/kuapir/models/country.rb,
lib/kuapir/models/episode.rb,
lib/kuapir/api/persons_api.rb,
lib/kuapir/api/reviews_api.rb,
lib/kuapir/models/box_office.rb,
lib/kuapir/models/distribution.rb,
lib/kuapir/models/fact_response.rb,
lib/kuapir/models/image_response.rb,
lib/kuapir/models/staff_response.rb,
lib/kuapir/models/video_response.rb,
lib/kuapir/models/person_response.rb,
lib/kuapir/models/season_response.rb,
lib/kuapir/models/filters_response.rb,
lib/kuapir/models/reviews_response.rb,
lib/kuapir/models/film_top_response.rb,
lib/kuapir/models/premiere_response.rb,
lib/kuapir/models/box_office_response.rb,
lib/kuapir/models/digital_release_item.rb,
lib/kuapir/models/film_search_response.rb,
lib/kuapir/models/image_response_items.rb,
lib/kuapir/models/video_response_items.rb,
lib/kuapir/models/distribution_response.rb,
lib/kuapir/models/person_response_films.rb,
lib/kuapir/models/related_film_response.rb,
lib/kuapir/models/premiere_response_item.rb,
lib/kuapir/models/film_top_response_films.rb,
lib/kuapir/models/filters_response_genres.rb,
lib/kuapir/models/person_by_name_response.rb,
lib/kuapir/models/person_response_spouses.rb,
lib/kuapir/models/review_details_response.rb,
lib/kuapir/models/digital_release_response.rb,
lib/kuapir/models/reviews_response_reviews.rb,
lib/kuapir/models/film_search_response_films.rb,
lib/kuapir/models/filters_response_countries.rb,
lib/kuapir/models/related_film_response_items.rb,
lib/kuapir/models/person_by_name_response_items.rb,
lib/kuapir/models/film_search_by_filters_response.rb,
lib/kuapir/models/film_sequels_and_prequels_response.rb,
lib/kuapir/models/film_search_by_filters_response_items.rb
Overview
#Kinopoisk Unofficial API
The version of the OpenAPI document: 2.0.1 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 5.3.1
Defined Under Namespace
Classes: ApiClient, ApiError, BoxOffice, BoxOfficeResponse, Company, Configuration, Country, DigitalReleaseItem, DigitalReleaseResponse, Distribution, DistributionResponse, Episode, Fact, FactResponse, Film, FilmSearchByFiltersResponse, FilmSearchByFiltersResponseItems, FilmSearchResponse, FilmSearchResponseFilms, FilmSequelsAndPrequelsResponse, FilmTopResponse, FilmTopResponseFilms, FilmsApi, FiltersResponse, FiltersResponseCountries, FiltersResponseGenres, Genre, ImageResponse, ImageResponseItems, PersonByNameResponse, PersonByNameResponseItems, PersonResponse, PersonResponseFilms, PersonResponseSpouses, PersonsApi, PremiereResponse, PremiereResponseItem, RelatedFilmResponse, RelatedFilmResponseItems, ReviewDetailsResponse, ReviewsApi, ReviewsResponse, ReviewsResponseReviews, Season, SeasonResponse, StaffApi, StaffResponse, VideoResponse, VideoResponseItems
Constant Summary collapse
- VERSION =
"0.1.4"
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
Kuapir.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
75 76 77 78 79 80 81 |
# File 'lib/kuapir.rb', line 75 def configure if block_given? yield(Configuration.default) else Configuration.default end end |