Sha256: 6143fce5cb178d7b434f5c1d296ce2d4c29ce09e0a81802fafa0fd55f077872b

Contents?: true

Size: 216 Bytes

Versions: 35

Compression:

Stored size: 216 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

35 entries across 35 versions & 17 rubygems

Version Path
greut-oauth-0.3.6 lib/oauth/errors/unauthorized.rb
jwhitmire-oauth-0.3.6.1 lib/oauth/errors/unauthorized.rb
metavida-oauth-0.3.2.1 lib/oauth/errors/unauthorized.rb
metavida-oauth-0.3.2 lib/oauth/errors/unauthorized.rb
mojodna-oauth-0.3.1.8 lib/oauth/errors/unauthorized.rb
mojodna-oauth-0.3.2.1 lib/oauth/errors/unauthorized.rb
mojodna-oauth-0.3.2.2 lib/oauth/errors/unauthorized.rb
mojodna-oauth-0.3.3 lib/oauth/errors/unauthorized.rb
mojodna-oauth-0.3.4.1 lib/oauth/errors/unauthorized.rb
mojodna-oauth-0.3.4 lib/oauth/errors/unauthorized.rb
mojodna-oauth-0.3.5 lib/oauth/errors/unauthorized.rb
mojodna-oauth-0.3.6 lib/oauth/errors/unauthorized.rb
monkeyhelper-oauth-0.3.5 lib/oauth/errors/unauthorized.rb
mzsanford-oauth-0.3.2.2 lib/oauth/errors/unauthorized.rb
pelle-oauth-0.3.5 lib/oauth/errors/unauthorized.rb
pelle-oauth-0.3.6 lib/oauth/errors/unauthorized.rb
sporkd-oauth-0.3.6 lib/oauth/errors/unauthorized.rb
vincentchu-oauth-0.3.2.111 lib/oauth/errors/unauthorized.rb
oauth-0.4.2 lib/oauth/errors/unauthorized.rb
apigee-oauth-0.4.0 lib/oauth/errors/unauthorized.rb