Class OAuth::Unauthorized
In: lib/oauth/errors/unauthorized.rb
Parent: OAuth::Error

Methods

new   to_s  

Attributes

request  [R] 

Public Class methods

[Source]

# File lib/oauth/errors/unauthorized.rb, line 4
    def initialize(request = nil)
      @request = request
    end

Public Instance methods

[Source]

# File lib/oauth/errors/unauthorized.rb, line 8
    def to_s
      [request.code, request.message] * " "
    end

[Validate]