Class: ExtensisPortfolio::AssetQueryTerm
- Inherits:
-
Object
- Object
- ExtensisPortfolio::AssetQueryTerm
- Defined in:
- lib/extensis_portfolio/asset_query_term.rb
Instance Method Summary collapse
-
#initialize(field_name, operator, values) ⇒ AssetQueryTerm
constructor
Creates a new instance of ExtensisPortfolio::AssetQueryTerm.
-
#to_hash ⇒ Hash
Returns a Hash for use in a soap request.
Constructor Details
#initialize(field_name, operator, values) ⇒ AssetQueryTerm
Creates a new instance of ExtensisPortfolio::AssetQueryTerm
8 9 10 11 12 |
# File 'lib/extensis_portfolio/asset_query_term.rb', line 8 def initialize(field_name, operator, values) @field_name = field_name @operator = operator @values = values end |
Instance Method Details
#to_hash ⇒ Hash
Returns a Hash for use in a soap request
17 18 19 20 21 22 23 |
# File 'lib/extensis_portfolio/asset_query_term.rb', line 17 def to_hash { field_name: @field_name, operator: @operator, values: @values } end |