Module: Ronnie
- Extended by:
- Configuration
- Defined in:
- lib/ronnie.rb,
lib/ronnie/error.rb,
lib/ronnie/client.rb,
lib/ronnie/request.rb,
lib/ronnie/version.rb,
lib/ronnie/connection.rb,
lib/ronnie/client/users.rb,
lib/ronnie/client/albums.rb,
lib/ronnie/client/tokens.rb,
lib/ronnie/client/tracks.rb,
lib/ronnie/configuration.rb,
lib/ronnie/authentication.rb,
lib/ronnie/client/artists.rb,
lib/ronnie/client/playlists.rb,
lib/ronnie/client/activities.rb,
lib/ronnie/client/collections.rb,
lib/ronnie/client/collections/albums.rb,
lib/ronnie/client/collections/artists.rb
Defined Under Namespace
Modules: Authentication, Configuration, Connection, Request Classes: BadGateway, BadRequest, Client, Error, Forbidden, InternalServerError, NotAcceptable, NotFound, NotImplemented, ServiceUnavailable, Unauthorized, UnprocessableEntity
Constant Summary collapse
- VERSION =
'0.8.0'
Constants included from Configuration
Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_API_ENDPOINT, Configuration::DEFAULT_API_VERSION, Configuration::DEFAULT_AUTO_TRAVERSAL, Configuration::DEFAULT_USER_AGENT, Configuration::DEFAULT_WEB_ENDPOINT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Ronnie::Client.new.
-
.new(options = {}) ⇒ Ronnie::Client
Alias for Ronnie::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Methods included from Configuration
api_endpoint=, configure, extended, faraday_config, options, reset, web_endpoint=
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to Ronnie::Client.new
17 18 19 20 21 |
# File 'lib/ronnie.rb', line 17 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options = {}) ⇒ Ronnie::Client
Alias for Ronnie::Client.new
12 13 14 |
# File 'lib/ronnie.rb', line 12 def new(={}) Ronnie::Client.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
23 24 25 |
# File 'lib/ronnie.rb', line 23 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |