Module: ActiveResource::CustomMethods::ClassMethods

Defined in:
activeresource/lib/active_resource/custom_methods.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) custom_method_collection_url(method_name, options = {})



82
83
84
85
# File 'activeresource/lib/active_resource/custom_methods.rb', line 82

def custom_method_collection_url(method_name, options = {})
  prefix_options, query_options = split_options(options)
  "#{prefix(prefix_options)}#{collection_name}/#{method_name}.#{format.extension}#{query_string(query_options)}"
end