Exception: GmoPayment::Errors::NetworkError

Inherits:
GmoPayment::Errors show all
Defined in:
lib/gmo_payment/errors.rb

Overview

Network Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(called_method = nil, request = nil, message = nil) ⇒ NetworkError

Returns a new instance of NetworkError.

Parameters:

  • called_method (Symbol) (defaults to: nil)
  • message (String) (defaults to: nil)
  • request (Request) (defaults to: nil)


17
18
19
20
21
# File 'lib/gmo_payment/errors.rb', line 17

def initialize(called_method = nil, request = nil, message = nil)
  self.called_method = called_method
  self.request = request
  super(message)
end

Instance Attribute Details

#called_methodObject



12
13
14
# File 'lib/gmo_payment/errors.rb', line 12

def called_method
  @called_method
end

#requestObject



12
# File 'lib/gmo_payment/errors.rb', line 12

attr_accessor :called_method, :request