Sha256: 841984f6390609c2683f2d854f17fb64c32923a839e8474d45c4982ea50255fd

Contents?: true

Size: 217 Bytes

Versions: 28

Compression:

Stored size: 217 Bytes

Contents

module OAuth
  class Unauthorized < OAuth::Error
    attr_reader :request
    def initialize(request = nil)
      @request = request
    end

    def to_s
      [request.code, request.message] * " "
    end
  end
end

Version data entries

28 entries across 25 versions & 7 rubygems

Version Path
oauth-instructure-0.4.8 lib/oauth/errors/unauthorized.rb
oauth-0.4.7 lib/oauth/errors/unauthorized.rb
motionbox-oauth-0.4.5 lib/oauth/errors/unauthorized.rb
oauth-0.4.6 lib/oauth/errors/unauthorized.rb
oauth-0.4.5 lib/oauth/errors/unauthorized.rb
sayso-oauth-0.4.4.001 lib/oauth/errors/unauthorized.rb
oauth-0.4.4 lib/oauth/errors/unauthorized.rb
oauth-0.4.3 lib/oauth/errors/unauthorized.rb