Class OAuth::ConsumerToken
In: lib/oauth/tokens/consumer_token.rb
Parent: Token

Superclass for tokens used by OAuth Clients

Methods

from_hash   new   request   sign!  

Attributes

consumer  [RW] 
params  [RW] 
response  [R] 

Public Class methods

Public Instance methods

Make a signed request using given http_method to the path

  @token.request(:get,  '/people')
  @token.request(:post, '/people', @person.to_xml, { 'Content-Type' => 'application/xml' })

Sign a request generated elsewhere using Net:HTTP::Post.new or friends

[Validate]