Sha256: 0aa8c74c6aa0cc02a680a391541961e9a0e628e233f6b61b386cb24faa11ce8b

Contents?: true

Size: 292 Bytes

Versions: 7

Compression:

Stored size: 292 Bytes

Contents

require File.join(File.dirname(__FILE__), 'blockscore_error')

module BlockScore
  class AuthorizationError < BlockscoreError

    @@http_status = 401

    def initialize(message=nil, json_body=nil, error_type=nil)

      super(message, json_body, @@http_status, error_type)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blockscore-4.0.0 lib/blockscore/error/authorization_error.rb
blockscore-3.0.1 lib/blockscore/error/authorization_error.rb
blockscore-3.0.0 lib/blockscore/error/authorization_error.rb
blockscore-2.1.2 lib/blockscore/error/authorization_error.rb
blockscore-2.1.1 lib/blockscore/error/authorization_error.rb
blockscore-2.1.0 lib/blockscore/error/authorization_error.rb
blockscore-2.0.1 lib/blockscore/error/authorization_error.rb