Module: RiotRails::ActionController::HttpMethods

Defined in:
lib/riot/action_controller/http_methods.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) delete(uri, params = {})



8
# File 'lib/riot/action_controller/http_methods.rb', line 8

def delete(uri, params={}); perform_request("DELETE", uri, params); end

- (Object) get(uri, params = {})



5
# File 'lib/riot/action_controller/http_methods.rb', line 5

def get(uri, params={}) perform_request("GET", uri, params); end

- (Object) http_reset



4
# File 'lib/riot/action_controller/http_methods.rb', line 4

def http_reset; @env = {}; end

- (Object) post(uri, params = {})



6
# File 'lib/riot/action_controller/http_methods.rb', line 6

def post(uri, params={}) perform_request("POST", uri, params); end

- (Object) put(uri, params = {})



7
# File 'lib/riot/action_controller/http_methods.rb', line 7

def put(uri, params={}); perform_request("PUT", uri, params); end