Class: QueryMeta

Inherits:
Object
  • Object
show all
Defined in:
lib/metasploit/framework/data_service/remote/http/query_meta.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeQueryMeta

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_attributesObject

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_onObject

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(query_meta)
  @associated_attributes << query_meta
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