Exception: RestPki::RestBaseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rest_pki/rest_base_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, verb, url) ⇒ RestBaseError

Returns a new instance of RestBaseError.



6
7
8
9
10
# File 'lib/rest_pki/rest_base_error.rb', line 6

def initialize(message, verb, url)
    super(message)
    @verb = verb
    @url = url
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



4
5
6
# File 'lib/rest_pki/rest_base_error.rb', line 4

def url
  @url
end

#verbObject (readonly)

Returns the value of attribute verb.



4
5
6
# File 'lib/rest_pki/rest_base_error.rb', line 4

def verb
  @verb
end