Class: Ronin::URLQueryParam
- Inherits:
-
Object
- Object
- Ronin::URLQueryParam
- Includes:
- Model
- Defined in:
- lib/ronin/url_query_param.rb
Overview
Represents a query param that belongs to a URL.
Instance Method Summary collapse
-
#inspect ⇒ String
Inspects the URL query param.
-
#to_s ⇒ String
Converts the URL query param to a String.
Methods included from Model
Instance Method Details
#inspect ⇒ String
Inspects the URL query param.
69 70 71 |
# File 'lib/ronin/url_query_param.rb', line 69 def inspect "#<#{self.class}: #{self}>" end |
#to_s ⇒ String
Converts the URL query param to a String.
55 56 57 |
# File 'lib/ronin/url_query_param.rb', line 55 def to_s URI::QueryParams.dump(self.name.to_s => self.value) end |