Class: Sem4r::AdGroupAdOperation
- Defined in:
- lib/sem4r/ad_group_ad/ad_group_ad_operations.rb
Instance Attribute Summary
Attributes inherited from Operation
Instance Method Summary collapse
-
#initialize(&block) ⇒ AdGroupAdOperation
constructor
A new instance of AdGroupAdOperation.
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 |