Class: Openfire::Service::Group
- Inherits:
-
Base
- Object
- Base
- Openfire::Service::Group
show all
- Defined in:
- lib/openfire/service/group.rb
Defined Under Namespace
Classes: GroupAlreadyExistsException, GroupNotFoundException, GroupServiceDisabledException, HTTPException, IllegalArgumentException, InvalidResponseException, RequestNotAuthorisedException
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#add_group!(opts) ⇒ Object
22
23
24
|
# File 'lib/openfire/service/group.rb', line 22
def add_group!(opts)
submit_request(opts.merge(:type => :add))
end
|
#delete_group!(opts) ⇒ Object
26
27
28
|
# File 'lib/openfire/service/group.rb', line 26
def delete_group!(opts)
submit_request(opts.merge(:type => :delete))
end
|
#lock_group!(opts) ⇒ Object
34
35
36
|
# File 'lib/openfire/service/group.rb', line 34
def lock_group!(opts)
submit_request(opts.merge(:type => :disable))
end
|
#unlock_group!(opts) ⇒ Object
38
39
40
|
# File 'lib/openfire/service/group.rb', line 38
def unlock_group!(opts)
submit_request(opts.merge(:type => :enable))
end
|
#update_group!(opts) ⇒ Object
30
31
32
|
# File 'lib/openfire/service/group.rb', line 30
def update_group!(opts)
submit_request(opts.merge(:type => :update))
end
|