Module: ActiveResource::CustomMethods::ClassMethods

Defined in:
lib/active_resource/custom_methods.rb

Instance Method Summary collapse

Instance Method Details

#custom_method_collection_url(method_name, options = {}) ⇒ Object



88
89
90
91
# File 'lib/active_resource/custom_methods.rb', line 88

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