Method: OldApiResource::Base.collection_path

Defined in:
lib/old_api_resource/base.rb

.collection_path(prefix_options = {}, query_options = nil) ⇒ Object



179
180
181
182
# File 'lib/old_api_resource/base.rb', line 179

def collection_path(prefix_options = {}, query_options = nil)
  prefix_options, query_options = split_options(prefix_options) if query_options.nil?
  "#{prefix(prefix_options)}#{collection_name}.#{format.extension}#{query_string(query_options)}"
end