Module: PPC::Operation::Creative_operation
Overview
+++++ Creative opeartion funcitons +++++ #
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args, &block) ⇒ Object
116 117 118 119 120 121 122 |
# File 'lib/ppc/operation.rb', line 116 def method_missing(method_name, *args, &block) if method_name.to_s[/_creative$/] call( "creative" ).send(method_name.to_s[/^(get|add|update|delete|enable|pause)/], @auth, [args].flatten ) else super end end |