Class: VBS::Client
- Inherits:
-
Common::Client::Base
- Object
- Common::Client::Base
- VBS::Client
- Defined in:
- lib/vbs/client.rb
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
Instance Method Details
#exec(vbs_request, skip_request_validation: false) ⇒ Object
10 11 12 13 |
# File 'lib/vbs/client.rb', line 10 def exec(vbs_request, skip_request_validation: false) vbs_request.validate! unless skip_request_validation perform(vbs_request.http_method, vbs_request.path, vbs_request.data) end |