Module: PPC::Operation::Plan_operation

Included in:
Account
Defined in:
lib/ppc/operation.rb

Overview

+++++ Plan opeartion funcitons +++++ #

Instance Method Summary collapse

Instance Method Details

#add_plan(plans) ⇒ Object



92
93
94
# File 'lib/ppc/operation.rb', line 92

def add_plan( plans )
  call('plan').add(@auth,plans)
end

#delete_plan(ids) ⇒ Object



100
101
102
# File 'lib/ppc/operation.rb', line 100

def delete_plan( ids )
  call('plan').delete(@auth,ids)
end

#get_plan(ids) ⇒ Object



88
89
90
# File 'lib/ppc/operation.rb', line 88

def get_plan( ids )
  ::PPC::Opeartion::get_obj( ids, 'plan')
end

#update_plan(plans) ⇒ Object



96
97
98
# File 'lib/ppc/operation.rb', line 96

def update_plan( plans )
  call('plan').update(@auth,plans)
end