Sha256: 523744963bda0551c6686e875f43a388984e434d5244371bb171640f59116317

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

module Rainforest
  class InvalidRequestError < RainforestError
    attr_accessor :param

    def initialize(message, param, http_status=nil, http_body=nil, json_body=nil)
      super(message, http_status, http_body, json_body)
      @param = param
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rainforest-1.0.7 lib/rainforest/errors/invalid_request_error.rb
rainforest-1.0.6 lib/rainforest/errors/invalid_request_error.rb
rainforest-1.0.5 lib/rainforest/errors/invalid_request_error.rb
rainforest-1.0.4 lib/rainforest/errors/invalid_request_error.rb
rainforest-1.0.3 lib/rainforest/errors/invalid_request_error.rb
rainforest-1.0.1 lib/rainforest/errors/invalid_request_error.rb