Exception: PaystackServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/paystack/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response = nil) ⇒ PaystackServerError

Returns a new instance of PaystackServerError.



4
5
6
# File 'lib/paystack/error.rb', line 4

def initialize(response=nil)
	@response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



3
4
5
# File 'lib/paystack/error.rb', line 3

def response
  @response
end