Class: Sem4r::AdGroupAdOperation

Inherits:
Operation show all
Defined in:
lib/sem4r/ad_group_ad/ad_group_ad_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) ⇒ AdGroupAdOperation

Returns a new instance of AdGroupAdOperation.



30
31
32
33
34
35
# File 'lib/sem4r/ad_group_ad/ad_group_ad_operations.rb', line 30

def initialize(&block)
  @operation_type = "AdGroupAdOperation"
  if block_given?
    block.arity < 1 ? instance_eval(&block) : block.call(self)
  end
end