class PayjpMock::Response::Error::AuthenticationError

Public Instance Methods

default_attributes() click to toggle source
# File lib/payjp_mock/response/error/authentication_error.rb, line 3
def default_attributes
  {
    message: 'Invalid API Key: sk_test_********************xxxx',
    status:  status,
    type:    'auth_error'
  }
end
status() click to toggle source
# File lib/payjp_mock/response/error/authentication_error.rb, line 11
def status
  401
end