Class: ActiveWebhook::Delivery::NetHTTPAdapter

Inherits:
BaseAdapter show all
Defined in:
lib/active_webhook/delivery/net_http_adapter.rb

Instance Attribute Summary

Attributes inherited from BaseAdapter

#response

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_codeObject



9
10
11
# File 'lib/active_webhook/delivery/net_http_adapter.rb', line 9

def status_code
  response.code.to_i
end