lib/hyperclient/resource.rb in hyperclient-0.0.6 vs lib/hyperclient/resource.rb in hyperclient-0.0.7
- old
+ new
@@ -6,10 +6,10 @@
# perform HTTP requests against itself and ease the way you access the
# resource's attributes, links and embedded resources.
class Resource
extend Forwardable
# Public: Delegate attributes and resources to the representation.
- def_delegators :representation, :attributes, :resources, :links
+ def_delegators :representation, :attributes, :embedded, :links
# Public: Delegate all HTTP methods (get, post, put, delete, options and
# head) to Hyperclient::HTTP.
def_delegators :@http, :get, :post, :put, :delete, :options, :head