Sha256: b37f838cf2d6314d2144f8dc6bb690ae316a3eacf54c34acf93e8f220c64ee92
Contents?: true
Size: 502 Bytes
Versions: 15
Compression:
Stored size: 502 Bytes
Contents
class Lastfm module MethodCategory class Auth < Base method_for_authentication :get_token do |response| response.xml['token'] end method_for_authentication( :get_session, :required => [:token] ) do |response| response.xml['session'] end method_for_secure_authentication( :get_mobile_session, :required => [:username, :password] ) do |response| response.xml['session'] end end end end
Version data entries
15 entries across 15 versions & 1 rubygems