Module: Recurly::API::Net::HTTPAdapter

Included in:
Recurly::API
Defined in:
lib/recurly/api/net_http_adapter.rb

Constant Summary

METHODS =
{
  :head   => ::Net::HTTP::Head,
  :get    => ::Net::HTTP::Get,
  :post   => ::Net::HTTP::Post,
  :put    => ::Net::HTTP::Put,
  :delete => ::Net::HTTP::Delete
}

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Hash) net_http

A hash of Net::HTTP settings configured before the request.

Returns:

  • (Hash)


10
11
12
# File 'lib/recurly/api/net_http_adapter.rb', line 10

def net_http
  @net_http ||= {}
end