Class: QueryMeta
- Inherits:
-
Object
- Object
- QueryMeta
- Defined in:
- lib/metasploit/framework/data_service/remote/http/query_meta.rb
Instance Attribute Summary collapse
-
#associated_attributes ⇒ Object
Returns the value of attribute associated_attributes.
-
#filter_on ⇒ Object
Returns the value of attribute filter_on.
Instance Method Summary collapse
- #add_associated_attribute(query_meta) ⇒ Object
- #add_filter_item(item) ⇒ Object
-
#initialize ⇒ QueryMeta
constructor
A new instance of QueryMeta.
Constructor Details
#initialize ⇒ QueryMeta
Returns a new instance of QueryMeta.
5 6 7 8 |
# File 'lib/metasploit/framework/data_service/remote/http/query_meta.rb', line 5 def initialize @filter_on = [] @associated_attributes = [] end |
Instance Attribute Details
#associated_attributes ⇒ Object
Returns the value of attribute associated_attributes.
3 4 5 |
# File 'lib/metasploit/framework/data_service/remote/http/query_meta.rb', line 3 def associated_attributes @associated_attributes end |
#filter_on ⇒ Object
Returns the value of attribute filter_on.
2 3 4 |
# File 'lib/metasploit/framework/data_service/remote/http/query_meta.rb', line 2 def filter_on @filter_on end |
Instance Method Details
#add_associated_attribute(query_meta) ⇒ Object
14 15 16 |
# File 'lib/metasploit/framework/data_service/remote/http/query_meta.rb', line 14 def add_associated_attribute() @associated_attributes << end |
#add_filter_item(item) ⇒ Object
10 11 12 |
# File 'lib/metasploit/framework/data_service/remote/http/query_meta.rb', line 10 def add_filter_item(item) @filter_on << item end |