class Nexpose::DiscoveryConnection::Criterion
Override of filter criterion to account for proper JSON naming.
Public Class Methods
parseHash(hash)
click to toggle source
Public Instance Methods
to_h()
click to toggle source
Convert to Hash, which can be converted to JSON for API calls.
# File lib/nexpose/discovery.rb, line 246 def to_h { operator: operator, values: Array(value), field_name: field } end