Class: Mopidy::Configuration
- Inherits:
-
Object
- Object
- Mopidy::Configuration
- Defined in:
- lib/mopidy.rb
Instance Attribute Summary collapse
-
#http_provider ⇒ Object
Returns the value of attribute http_provider.
-
#mopidy_url ⇒ Object
Returns the value of attribute mopidy_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
26 27 28 29 |
# File 'lib/mopidy.rb', line 26 def initialize @mopidy_url = 'http://localhost:6680/mopidy/rpc' @http_provider = HTTParty end |
Instance Attribute Details
#http_provider ⇒ Object
Returns the value of attribute http_provider.
24 25 26 |
# File 'lib/mopidy.rb', line 24 def http_provider @http_provider end |
#mopidy_url ⇒ Object
Returns the value of attribute mopidy_url.
23 24 25 |
# File 'lib/mopidy.rb', line 23 def mopidy_url @mopidy_url end |