class PayjpMock::Response::Error::ApiError

Public Instance Methods

default_attributes() click to toggle source
# File lib/payjp_mock/response/error/api_error.rb, line 3
def default_attributes
  {
    code:    'under_maintenance',
    message: 'PAY.JP is currently undergoing maintenance. Please try again later.',
    status:  status,
    type:    'server_error'
  }
end
status() click to toggle source
# File lib/payjp_mock/response/error/api_error.rb, line 12
def status
  503
end