Sha256: c255d69563911b3f8ada960342b703ba1b76de82b2e349280f690c9102f15926
Contents?: true
Size: 496 Bytes
Versions: 3
Compression:
Stored size: 496 Bytes
Contents
require_relative "model.rb" module Figo # Begin process. # # @param process [Hash] - Process token object def start_process(process) query_api "/process/start?id=" + process.process_token, nil, "GET" end # Create a process. # # @param proc [Hash] - Process object # @return [Hash] - The result parameter is a ProcessToken object of a newly created process. def create_process(proc) query_api_object ProcessToken, "/client/process", proc.dump(), "POST", nil end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
figo-1.4.1 | lib/process/api_call.rb |
figo-1.4.0 | lib/process/api_call.rb |
figo-1.3.3 | lib/process/api_call.rb |