Module: PPC::Operation::Sublink_operation
Overview
+++++ Sublink 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
129 130 131 132 133 134 135 |
# File 'lib/ppc/operation.rb', line 129 def method_missing(method_name, *args, &block) if method_name.to_s[/_sublink$/] call( "sublink" ).send(method_name.to_s[/^(get|add|update|delete|enable|pause)/], @auth, [args].flatten ) else super end end |