Class: Cetacean::EmbeddedResource
- Inherits:
-
Object
- Object
- Cetacean::EmbeddedResource
- Includes:
- Resource
- Defined in:
- lib/cetacean/embedded_resource.rb
Instance Method Summary collapse
-
#initialize(document) ⇒ EmbeddedResource
constructor
A new instance of EmbeddedResource.
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 |