Class: Scrobbler2::Track
Instance Method Summary collapse
-
#initialize(artist, track) ⇒ Track
constructor
A new instance of Track.
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 |