Class: Azure::ServiceBus::TrueFilter
- Inherits:
-
SqlFilter
- Object
- RuleAspect
- Filter
- SqlFilter
- Azure::ServiceBus::TrueFilter
- Defined in:
- lib/azure/service_bus/true_filter.rb
Instance Attribute Summary
Attributes inherited from SqlFilter
#compatibility_level, #sql_expression
Instance Method Summary collapse
-
#initialize(hash = nil) ⇒ TrueFilter
constructor
Public: Initialize the SQL True Filter.
Methods inherited from SqlFilter
Methods inherited from RuleAspect
Constructor Details
#initialize(hash = nil) ⇒ TrueFilter
Public: Initialize the SQL True Filter.
Attributes
-
hash
- The resource options Hash
Options
Accepted key/value pairs in options parameter are:
-
:sql_expression
- The SQL expression.
31 32 33 34 35 |
# File 'lib/azure/service_bus/true_filter.rb', line 31 def initialize(hash=nil) hash = {} unless hash hash[:sql_expression] = "1 = 1" unless hash[:sql_expression] super(hash) end |