class Typhoeus::EasyFactory

def get

Experimental RBS support (using type sampling data from the type_fusion project).

def get: () -> Ethon::Easy

This signature was generated using 30 samples from 3 applications.

Returns:
  • (Ethon::Easy) - The easy.

Other tags:
    Example: Prepared easy. -
def get
  begin
    easy.http_request(
      request.base_url.to_s,
      request.options.fetch(:method, :get),
      sanitize(request.options)
    )
  rescue Ethon::Errors::InvalidOption => e
    help = provide_help(e.message.match(/:\s(\w+)/)[1])
    raise $!, "#{$!}#{help}", $!.backtrace
  end
  set_callback
  easy
end