Class: Sem4r::AdGroupCriterionOperation
- Defined in:
- lib/sem4r/ad_group_criterion/ad_group_criterion_operations.rb
Instance Attribute Summary
Attributes inherited from Operation
Instance Method Summary collapse
-
#initialize(&block) ⇒ AdGroupCriterionOperation
constructor
A new instance of AdGroupCriterionOperation.
Methods inherited from Operation
#_xml, add, #add, remove, #remove, set, #set, #to_xml, #xml
Methods included from Sem4rSoap::SoapAttributes
#_from_element, #_to_s, #_to_xml, included
Constructor Details
#initialize(&block) ⇒ AdGroupCriterionOperation
Returns a new instance of AdGroupCriterionOperation.
28 29 30 31 32 33 |
# File 'lib/sem4r/ad_group_criterion/ad_group_criterion_operations.rb', line 28 def initialize(&block) @operation_type = "AdGroupCriterionOperation" if block_given? block.arity < 1 ? instance_eval(&block) : block.call(self) end end |