lib/hyper_resource/link.rb in aptible-resource-1.0.2 vs lib/hyper_resource/link.rb in aptible-resource-1.1.0.pre.0

- old
+ new

@@ -51,9 +51,9 @@ def put(*args); self.resource.put(*args) end def delete(*args); self.resource.delete(*args) end ## If we were called with a method we don't know, load this resource ## and pass the message along. This achieves implicit loading. - def method_missing(method, *args) - self.get.send(method, *args) + def method_missing(method, *args, &block) + self.get.send(method, *args, &block) end end