Method: SimpleQS::Request::Base#query_string=
- Defined in:
- lib/simple_qs/request/base.rb
#query_string=(value) ⇒ Object
56 57 58 59 |
# File 'lib/simple_qs/request/base.rb', line 56 def query_string=(value) value = value.join('/') if value.kind_of?(Array) @query_string = (value =~ /^\// ? value : "/#{value}") end |