lib/todoable_api/default_client.rb
# Make a PUT request, given a path (String) and params (Hash)
# Returns a parsed JSON/String response from the HTTPRequestable module
Make a PUT request, given a path (String) and params (Hash)
Returns a parsed JSON/String response from the HTTPRequestable module
Make a PUT request given a path ( String ) and params ( Hash ) Returns a parsed JSON / String response from the HTTPRequestable module
def put(path:, params: {})
      handle_preconditions do
        puts "PUT"
        request(method: :put, path: path, params: params, headers: @headers)
      end
    end
def put ( path : , params : { } ) handle_preconditions do puts "PUT" request ( method : :put , path : path , params : params , headers : @headers ) end end
Make a PUT request, given a path (String) and params (Hash)
Returns a parsed JSON/String response from the HTTPRequestable module
Make a PUT request given a path ( String ) and params ( Hash ) Returns a parsed JSON / String response from the HTTPRequestable module
path
params