Exception: Impermium::BaseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/impermium/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request_type, request_url, message) ⇒ BaseError

Returns a new instance of BaseError.



6
7
8
9
10
# File 'lib/impermium/errors.rb', line 6

def initialize(request_type, request_url, message)
  @request_type = request_type
  @request_url = request_url
  super message
end

Instance Attribute Details

#request_typeObject (readonly)

Returns the value of attribute request_type.



3
4
5
# File 'lib/impermium/errors.rb', line 3

def request_type
  @request_type
end

#request_urlObject (readonly)

Returns the value of attribute request_url.



4
5
6
# File 'lib/impermium/errors.rb', line 4

def request_url
  @request_url
end