Class: OAuth::Delicious::Consumer

Inherits:
Object
  • Object
show all
Defined in:
lib/delicious-api-via-oauth/oauth-extensions/delicious/consumer.rb

Class Method Summary collapse

Class Method Details

.build(api_key, shared_secret) ⇒ Object



9
10
11
12
13
# File 'lib/delicious-api-via-oauth/oauth-extensions/delicious/consumer.rb', line 9

def self.build(api_key, shared_secret)
  OAuth::Consumer.new(api_key, shared_secret, Yahoo::PATHS.merge({
    :site => SITE, :scheme => :header, :http_method => :get, :realm => 'yahooapis.com'
  }))
end