Module: FunTranslations::Request

Includes:
Connection
Included in:
Client
Defined in:
lib/fun_translations/request.rb

Overview

This module contains methods to perform HTTP requests

Constant Summary

Constants included from Connection

Connection::BASE_URL

Instance Method Summary collapse

Methods included from Connection

#connection

Instance Method Details

#post(path, client, params = {}) ⇒ Object

Performs an HTTP post request

Parameters:



12
13
14
15
16
# File 'lib/fun_translations/request.rb', line 12

def post(path, client, params = {})
  respond_with(
    connection(client).post(path, params)
  )
end