Class: IHub::Service

Inherits:
Common::Client::Base show all
Defined in:
lib/ihub/service.rb

Direct Known Subclasses

Appointments::Service

Constant Summary collapse

STATSD_KEY_PREFIX =
'api.ihub'

Instance Method Summary collapse

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

Methods included from SentryLogging

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

Constructor Details

#initialize(user) ⇒ Service

Returns a new instance of Service.



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

def initialize(user)
  @user = user
end