Class: BID::Service

Inherits:
Common::Client::Base show all
Includes:
Common::Client::Concerns::Monitoring, SentryLogging
Defined in:
lib/bid/service.rb

Direct Known Subclasses

Awards::Service

Constant Summary collapse

SENTRY_TAG =
{ team: 'vfs-ebenefits' }.freeze

Instance Method Summary collapse

Methods included from SentryLogging

#log_exception_to_sentry, #log_message_to_sentry, #non_nil_hash?, #normalize_level, #rails_logger, #set_sentry_metadata

Methods included from Common::Client::Concerns::Monitoring

#increment, #increment_failure, #increment_total, #with_monitoring

Methods inherited from Common::Client::Base

#config, configuration, #connection, #delete, #get, #perform, #post, #put, #raise_backend_exception, #raise_not_authenticated, #request, #sanitize_headers!, #service_name

Constructor Details

#initialize(user) ⇒ Service

Returns a new instance of Service.



12
13
14
# File 'lib/bid/service.rb', line 12

def initialize(user)
  @user = user
end