Class: Ronin::URLQueryParamName
- Inherits:
-
Object
- Object
- Ronin::URLQueryParamName
- Includes:
- Model, Model::HasUniqueName
- Defined in:
- lib/ronin/url_query_param_name.rb
Overview
Represents the name of a URLQueryParam.
Instance Method Summary collapse
-
#created_at ⇒ Time
Specifies when the URL query param name was first seen.
-
#inspect ⇒ String
Inspects the URL query param name.
-
#to_s ⇒ String
Converts the URL query param name to a String.
Methods included from Model::HasUniqueName
Methods included from Model
Instance Method Details
#created_at ⇒ Time
Specifies when the URL query param name was first seen.
54 55 56 57 58 |
# File 'lib/ronin/url_query_param_name.rb', line 54 def created_at if (url = self.query_params.urls.first(:fields => [:created_at])) url.created_at end end |
#inspect ⇒ String
Inspects the URL query param name.
84 85 86 |
# File 'lib/ronin/url_query_param_name.rb', line 84 def inspect "#<#{self.class}: #{self}>" end |
#to_s ⇒ String
Converts the URL query param name to a String.
70 71 72 |
# File 'lib/ronin/url_query_param_name.rb', line 70 def to_s self.name.to_s end |