class Object
Public Instance Methods
format_with_http_verb(*args)
click to toggle source
# File lib/magic-resource/feature.rb, line 27 def format_with_http_verb(*args) MagicResource::PathWithHttpVerb.new(self.verb, format_without_http_verb(*args)) end
url_for_with_http_verb(options, *args)
click to toggle source
# File lib/magic-resource/feature.rb, line 12 def url_for_with_http_verb(options, *args) path = url_for_without_http_verb(options, *args) options[:path].kind_of?(MagicResource::PathWithHttpVerb) ? MagicResource::PathWithHttpVerb.new(options[:path], path) : path end