Class: Sem4r::AdGroupCriterionOperation

Inherits:
Operation
  • Object
show all
Defined in:
lib/sem4r/ad_group_criterion/ad_group_criterion_operations.rb

Instance Attribute Summary

Attributes inherited from Operation

#operation_type

Instance Method Summary collapse

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