Method: Espago::ApiConnection#create
- Defined in:
- lib/espago/api_connection.rb
#create(path, method, params = {}) ⇒ Object
20 21 22 23 24 25 |
# File 'lib/espago/api_connection.rb', line 20 def create(path, method, params = {} ) route = @router.new(path, method).route response = route.new(@connection).request(params) handle_response response end |