Class: Mopidy::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/mopidy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_providerObject

Returns the value of attribute http_provider.



23
24
25
# File 'lib/mopidy.rb', line 23

def http_provider
  @http_provider
end

#mopidy_urlObject

Returns the value of attribute mopidy_url.



22
23
24
# File 'lib/mopidy.rb', line 22

def mopidy_url
  @mopidy_url
end