Class: Scrobbler2::Track

Inherits:
Base
  • Object
show all
Defined in:
lib/scrobbler2/track.rb

Instance Method Summary collapse

Methods inherited from Base

get, get_with_auth, has_resource, has_singleton_resource, http_with_auth, post_with_auth, query_signature, sign

Constructor Details

#initialize(artist, track) ⇒ Track

Returns a new instance of Track.



4
5
6
# File 'lib/scrobbler2/track.rb', line 4

def initialize(artist, track)
  @query = {:artist => artist, :track => track}
end