Class: Cetacean::EmbeddedResource

Inherits:
Object
  • Object
show all
Includes:
Resource
Defined in:
lib/cetacean/embedded_resource.rb

Instance Method Summary collapse

Methods included from Resource

#attributes, #embedded, #get_uri, #links

Constructor Details

#initialize(document) ⇒ EmbeddedResource

Returns a new instance of EmbeddedResource.



4
5
6
# File 'lib/cetacean/embedded_resource.rb', line 4

def initialize(document)
  @hal = document
end