Module: PPC::Operation::Group_operation
Overview
+++++ Group 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
90 91 92 93 94 95 96 |
# File 'lib/ppc/operation.rb', line 90 def method_missing(method_name, *args, &block) if method_name.to_s[/_group$/] call( "group" ).send(method_name.to_s[/^(get|add|update|delete|enable|pause)/], @auth, [args].flatten ) else super end end |