Sha256: 71bd0ab8bf16e8e8292a90da258b538d8724b225f785d5e52332b7059f038356

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

module BrainstemAdaptor
  class InvalidResponseError < StandardError
    attr_reader :response

    # @param [Hash] response
    # @param [Stirng] message
    def initialize(response, message = response.inspect)
      @response = response
      super(message)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brainstem-adaptor-0.0.4 lib/brainstem_adaptor/invalid_response_error.rb
brainstem-adaptor-0.0.3 lib/brainstem_adaptor/invalid_response_error.rb