Module: Canql::Nodes::ActionProviderCodeNode
- Defined in:
- lib/canql/nodes/e_base_records.rb
Instance Method Summary collapse
Instance Method Details
#meta_data_item ⇒ Object
53 54 55 56 57 58 59 |
# File 'lib/canql/nodes/e_base_records.rb', line 53 def # default to provider subject = reverse_scan_for_marker(:subject) == 'mother' ? '.mother' : '' key = 'providercode' condition = provider_type.text_value == 'trust' ? Canql::BEGINS : Canql::EQUALS { "action#{subject}.#{key}" => { condition => code.text_value.upcase } } end |