Class: Scrobbler2::Event
Instance Method Summary collapse
-
#initialize(event_id) ⇒ Event
constructor
A new instance of Event.
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(event_id) ⇒ Event
Returns a new instance of Event.
4 5 6 |
# File 'lib/scrobbler2/event.rb', line 4 def initialize(event_id) @query = {:event => event_id} end |