Method: OAuth::AccessToken#get

Defined in:
lib/oauth/tokens/access_token.rb

#get(path, headers = {}) ⇒ Object

Make a regular GET request using AccessToken

@response = @token.get('/people')
@response = @token.get('/people', { 'Accept'=>'application/xml' })


28
29
30
# File 'lib/oauth/tokens/access_token.rb', line 28

def get(path, headers = {})
  request(:get, path, headers)
end