Sha256: fdd27d9dcfa66c79deeba3c890403dc43a7bb3be5e07c2c62418dc216fb5aa85

Contents?: true

Size: 200 Bytes

Versions: 23

Compression:

Stored size: 200 Bytes

Contents

module Doorkeeper
  module OAuth
    class Error < Struct.new(:name, :state)
      def description
        I18n.translate name, :scope => [:doorkeeper, :errors, :messages]
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
doorkeeper-1.1.0 lib/doorkeeper/oauth/error.rb
doorkeeper-1.0.0 lib/doorkeeper/oauth/error.rb
doorkeeper-1.0.0.rc2 lib/doorkeeper/oauth/error.rb
doorkeeper-1.0.0.rc1 lib/doorkeeper/oauth/error.rb
doorkeeper-0.7.4 lib/doorkeeper/oauth/error.rb
doorkeeper-0.7.3 lib/doorkeeper/oauth/error.rb
doorkeeper-0.7.2 lib/doorkeeper/oauth/error.rb
doorkeeper-0.7.1 lib/doorkeeper/oauth/error.rb
doorkeeper-0.7.0 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.7 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.6 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.5 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.4 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.3 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.2 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.1 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.0 lib/doorkeeper/oauth/error.rb
doorkeeper-0.6.0.rc1 lib/doorkeeper/oauth/error.rb
doorkeeper-0.5.0 lib/doorkeeper/oauth/error.rb
doorkeeper-0.5.0.rc1 lib/doorkeeper/oauth/error.rb