module ActiveResource::Extensions::UrlsWithoutJsonExtension::ClassMethods
Public Instance Methods
collection_path_with_extension(*args)
click to toggle source
# File lib/mailroute/extensions/active_resource/urls_without_json_extension.rb, line 11 def collection_path_with_extension(*args) collection_path_without_extension(*args).gsub(/.json|.xml/,'/') end
element_path_with_extension(*args)
click to toggle source
# File lib/mailroute/extensions/active_resource/urls_without_json_extension.rb, line 5 def element_path_with_extension(*args) element_path_without_extension(*args).gsub(/.json|.xml/,'/') end
new_element_path_with_extension(*args)
click to toggle source
# File lib/mailroute/extensions/active_resource/urls_without_json_extension.rb, line 8 def new_element_path_with_extension(*args) new_element_path_without_extension(*args).gsub(/.json|.xml/,'/') end