Class: Scrobbler2::User

Inherits:
Base
  • Object
show all
Defined in:
lib/scrobbler2/user.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(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