Class SmartFm::Authtoken
In: app/models/smart_fm/authtoken.rb
Parent: Authtoken

Methods

consumer  

Constants

SMARTFM_OAUTH_KEY = "QQbV1VkXqvM34RHKojAtA"
SMARTFM_OAUTH_SECRET = "enZn23K9SZRkq1vPJQqFkbhWSfKKQNdrF8Vk9WFXkM"
SMARTFM_API_HOST_WITH_PORT = "http://api.smart.fm/oauth/request_token"
SMARTFM_HOST_WITH_PORT = "http://smart.fm//oauth/request_token"
CONSUMER = OAuth::Consumer.new( SMARTFM_OAUTH_KEY, SMARTFM_OAUTH_SECRET, :site => SMARTFM_API_HOST_WITH_PORT, :authorize_url => SMARTFM_HOST_WITH_PORT)

Public Class methods

[Source]

    # File app/models/smart_fm/authtoken.rb, line 16
16:     def self.consumer
17:       CONSUMER
18:     end

[Validate]