Class: Vero::Senders::Base

Inherits:
Object show all
Defined in:
lib/vero/senders/base.rb

Instance Method Summary collapse

Instance Method Details

#call(api_class, domain, options) ⇒ Object



6
7
8
9
10
11
# File 'lib/vero/senders/base.rb', line 6

def call(api_class, domain, options)
  response = api_class.perform(domain, options)
  options_s = JSON.dump(options)
  Vero::App.log(self, "method: #{api_class.name}, options: #{options_s}, response: job performed")
  response
end