Class: ActiveWebhook::Delivery::NetHTTPAdapter
- Inherits:
-
BaseAdapter
- Object
- Adapter
- BaseAdapter
- ActiveWebhook::Delivery::NetHTTPAdapter
- Defined in:
- lib/active_webhook/delivery/net_http_adapter.rb
Instance Attribute Summary
Attributes inherited from BaseAdapter
Instance Method Summary collapse
Methods inherited from BaseAdapter
#call, #max_errors_per_hour, #topic
Methods inherited from Adapter
attribute, attributes, #attributes, call, #call, #component_configuration, component_configuration, component_name, configuration, #configuration, #initialize
Constructor Details
This class inherits a constructor from ActiveWebhook::Adapter
Instance Method Details
#status_code ⇒ Object
9 10 11 |
# File 'lib/active_webhook/delivery/net_http_adapter.rb', line 9 def status_code response.code.to_i end |