Module: PPC::Operation::Plan_operation
- Included in:
- Account
- Defined in:
- lib/ppc/operation.rb
Overview
+++++ Plan opeartion funcitons +++++ #
Instance Method Summary collapse
- #add_plan(plans) ⇒ Object
- #delete_plan(ids) ⇒ Object
- #get_plan(ids) ⇒ Object
- #update_plan(plans) ⇒ Object
Instance Method Details
#add_plan(plans) ⇒ Object
80 81 82 |
# File 'lib/ppc/operation.rb', line 80 def add_plan( plans ) call('plan').add(@auth,plans) end |
#delete_plan(ids) ⇒ Object
88 89 90 |
# File 'lib/ppc/operation.rb', line 88 def delete_plan( ids ) call('plan').delete(@auth,ids) end |
#get_plan(ids) ⇒ Object
76 77 78 |
# File 'lib/ppc/operation.rb', line 76 def get_plan( ids ) ::PPC::Opeartion::get_obj( ids, 'plan') end |
#update_plan(plans) ⇒ Object
84 85 86 |
# File 'lib/ppc/operation.rb', line 84 def update_plan( plans ) call('plan').update(@auth,plans) end |