Module: ApiBase::Service

Included in:
Endpoint
Defined in:
lib/api_base/service.rb

Instance Method Summary collapse

Instance Method Details

#sensitive_keysObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/api_base/service.rb', line 9

def sensitive_keys
  raise NotImplementedError, 'sensitive_keys is not implemented'
end

#service_nameObject

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/api_base/service.rb', line 5

def service_name
  raise NotImplementedError, 'service_name is not implemented'
end

#success_status_codesObject



13
14
15
# File 'lib/api_base/service.rb', line 13

def success_status_codes
  [200, 201]
end