Class: Spec::Rails::Matchers::RedirectTo::QueryParameterParser
- Defined in:
- lib/vendor/plugins/make_resourceful/spec/rspec-rails/redirect_to.rb
Class Method Summary collapse
Class Method Details
.parse_query_parameters(query, request) ⇒ Object
81 82 83 84 85 86 87 |
# File 'lib/vendor/plugins/make_resourceful/spec/rspec-rails/redirect_to.rb', line 81 def self.parse_query_parameters(query, request) if defined?(CGIMethods) CGIMethods.parse_query_parameters(query) else request.class.parse_query_parameters(query) end end |