Class: PayjpMock::Response::Error::ApiConnectionError

Inherits:
Base
  • Object
show all
Defined in:
lib/payjp_mock/response/error/api_connection_error.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

#to_h

Constructor Details

#initializeApiConnectionError

Returns a new instance of ApiConnectionError.



3
4
# File 'lib/payjp_mock/response/error/api_connection_error.rb', line 3

def initialize
end

Instance Method Details

#bodyObject



6
7
8
# File 'lib/payjp_mock/response/error/api_connection_error.rb', line 6

def body
  nil
end

#exceptionObject



14
15
16
# File 'lib/payjp_mock/response/error/api_connection_error.rb', line 14

def exception
  SocketError
end

#statusObject



10
11
12
# File 'lib/payjp_mock/response/error/api_connection_error.rb', line 10

def status
  nil
end