Class: ActiveWebhook::Formatting::BaseAdapter

Inherits:
Adapter
  • Object
show all
Defined in:
lib/active_webhook/formatting/base_adapter.rb

Direct Known Subclasses

JSONAdapter, URLEncodedAdapter

Instance Method Summary collapse

Methods inherited from Adapter

attribute, attributes, #attributes, call, component_configuration, #component_configuration, configuration, #configuration, #initialize

Constructor Details

This class inherits a constructor from ActiveWebhook::Adapter

Instance Method Details

#callObject



8
9
10
# File 'lib/active_webhook/formatting/base_adapter.rb', line 8

def call
  Hook.new url, headers, body
end