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