def method_missing(name, *args, &block)
      if resource_methods.include?(name)
        collection_method(name, *args, &block)
      elsif [].respond_to?(name, false)
        array_method(name, *args, &block)
      else
        next_collection(name, *args, &block)
      end
    end
def method_missing(name, *args, &block)
      if resource_methods.include?(name)
        collection_method(name, *args, &block)
      elsif [].respond_to?(name, false)
        array_method(name, *args, &block)
      else
        next_collection(name, *args, &block)
      end
    end
def method_missing ( name , * args , & block ) if resource_methods . include? ( name ) collection_method ( name , args , block ) elsif [ ] . respond_to? ( name , false ) array_method ( name , args , block ) else next_collection ( name , args , block ) end end
Sends methods to underlying array of resources.
Sends methods to underlying array of resources .