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.
25 26 27 28 |
# File 'lib/mopidy.rb', line 25 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.
23 24 25 |
# File 'lib/mopidy.rb', line 23 def http_provider @http_provider end |
#mopidy_url ⇒ Object
Returns the value of attribute mopidy_url.
22 23 24 |
# File 'lib/mopidy.rb', line 22 def mopidy_url @mopidy_url end |