Module: Hyperclient

Defined in:
lib/hyperclient.rb,
lib/hyperclient/link.rb,
lib/hyperclient/curie.rb,
lib/hyperclient/version.rb,
lib/hyperclient/resource.rb,
lib/hyperclient/attributes.rb,
lib/hyperclient/collection.rb,
lib/hyperclient/entry_point.rb,
lib/hyperclient/link_collection.rb,
lib/hyperclient/resource_collection.rb

Overview

Hyperclient namespace.

Defined Under Namespace

Classes: Attributes, Collection, ConnectionAlreadyInitializedError, Curie, EntryPoint, InvalidRepresentationError, Link, LinkCollection, Resource, ResourceCollection

Constant Summary collapse

VERSION =
'0.9.3'.freeze

Class Method Summary collapse

Class Method Details

.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