lib/hyperclient/resource.rb in hyperclient-0.0.5 vs lib/hyperclient/resource.rb in hyperclient-0.0.6
- old
+ new
@@ -67,10 +67,9 @@
#
# Return nothing.
def initialize_representation(raw_representation)
if raw_representation && !raw_representation.empty?
@representation = Representation.new(raw_representation)
- @url = @representation.url if @representation.url
end
end
# Internal: Returns the resource representation.
def representation