lib/excon/hypermedia/resource_object.rb in excon-hypermedia-0.5.1 vs lib/excon/hypermedia/resource_object.rb in excon-hypermedia-0.5.2
- old
+ new
@@ -56,10 +56,10 @@
def [](key)
_properties[key]
end
def method_missing(method_name, *_)
- _properties.send(method_name)
+ _properties.respond_to?(method_name) ? _properties.send(method_name) : super
end
end
end
end