Module: Ronin::Exploits::Metadata::URLQueryParam::ClassMethods
- Defined in:
- lib/ronin/exploits/metadata/url_query_param.rb
Overview
Class-methods.
Instance Method Summary collapse
-
#url_query_param(new_url_query_param = nil) ⇒ String?
Get or sets the target URL query param of the exploit.
Instance Method Details
#url_query_param(new_url_query_param = nil) ⇒ String?
Get or sets the target URL query param of the exploit.
57 58 59 60 61 62 63 64 65 |
# File 'lib/ronin/exploits/metadata/url_query_param.rb', line 57 def url_query_param(new_url_query_param=nil) if new_url_query_param @url_query_param = new_url_query_param else @url_query_param ||= if superclass.kind_of?(ClassMethods) superclass.url_query_param end end end |