class Azure::ServiceBus::TrueFilter

Public Class Methods

new(hash=nil) click to toggle source

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.

Calls superclass method Azure::ServiceBus::SqlFilter.new
# 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