Module: Admincredible::JoomlaRequest

Included in:
Client
Defined in:
lib/admincredible/joomla_request.rb

Instance Method Summary collapse

Instance Method Details

#jdelete(resource, task, options = {}) ⇒ Object



18
19
20
# File 'lib/admincredible/joomla_request.rb', line 18

def jdelete(resource, task, options={})
  delete('', {:resource => resource, :task => task}.merge(options))
end

#jget(resource, task, options = {}) ⇒ Object



6
7
8
# File 'lib/admincredible/joomla_request.rb', line 6

def jget(resource, task, options={})
  get('', {:resource => resource, :task => task}.merge(options))
end

#jpost(resource, task, options = {}) ⇒ Object



10
11
12
# File 'lib/admincredible/joomla_request.rb', line 10

def jpost(resource, task, options={})
  post('', options, {: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, options={})
  put('', options, {:resource => resource, :task => task})
end