Module: Admincredible::JoomlaRequest
- Included in:
- Client
- Defined in:
- lib/admincredible/joomla_request.rb
Instance Method Summary collapse
- #jdelete(resource, task, options = {}) ⇒ Object
- #jget(resource, task, options = {}) ⇒ Object
- #jpost(resource, task, options = {}) ⇒ Object
- #jput(resource, task, options = {}) ⇒ Object
Instance Method Details
#jdelete(resource, task, options = {}) ⇒ Object
18 19 20 |
# File 'lib/admincredible/joomla_request.rb', line 18 def jdelete(resource, task, ={}) delete('', {:resource => resource, :task => task}.merge()) end |
#jget(resource, task, options = {}) ⇒ Object
6 7 8 |
# File 'lib/admincredible/joomla_request.rb', line 6 def jget(resource, task, ={}) get('', {:resource => resource, :task => task}.merge()) end |
#jpost(resource, task, options = {}) ⇒ Object
10 11 12 |
# File 'lib/admincredible/joomla_request.rb', line 10 def jpost(resource, task, ={}) post('', , {:resource => resource, :task => task}) end |
#jput(resource, task, options = {}) ⇒ Object
14 15 16 |
# File 'lib/admincredible/joomla_request.rb', line 14 def jput(resource, task, ={}) put('', , {:resource => resource, :task => task}) end |