Module: PPC::Operation::Group_operation

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

Overview

+++++ Group opeartion funcitons +++++ #

Instance Method Summary collapse

Instance Method Details

#add_group(groups) ⇒ Object



111
112
113
# File 'lib/ppc/operation.rb', line 111

def add_group( groups )
  call('group').add(@auth,groups )
end

#delete_group(ids) ⇒ Object



119
120
121
# File 'lib/ppc/operation.rb', line 119

def delete_group( ids )
  call('group').delete( @auth, ids )
end

#get_group(ids) ⇒ Object



107
108
109
# File 'lib/ppc/operation.rb', line 107

def get_group( ids )
  ::PPC::Opeartion::get_obj( ids, 'group')
end

#update_group(groups) ⇒ Object



115
116
117
# File 'lib/ppc/operation.rb', line 115

def update_group( groups )
  call('group').update( @auth, groups )
end