Method: Hyperclient.new

Defined in:
lib/hyperclient.rb

.new(url, &block) ⇒ Object

Convenience method to create new EntryPoints.

Parameters:

  • url

    A String with the url of the API.

Returns:

  • a Hyperclient::EntryPoint



19
20
21
# File 'lib/hyperclient.rb', line 19

def self.new(url, &block)
  Hyperclient::EntryPoint.new(url, &block)
end