Method: Cyrax::Decorator#method_missing

Defined in:
lib/cyrax/decorator.rb

#method_missing(method, *args, &block) ⇒ Object



19
20
21
22
# File 'lib/cyrax/decorator.rb', line 19

def method_missing(method, *args, &block)
  return super unless resource.respond_to?(method)
  resource.send(method, *args, &block)
end