Skip to content

HPInc/oneflow-sdk-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby SDK for OneFlow

Basic usage

require './oneflowclient'

#OneflowClient instance
client = OneflowClient.new(endpoint, token, secret)

# ... Fill in request path and data

#make the POST request to the endpoint
response = client.request("POST", api_path, data)

Git

git clone https://github.com/Oneflow/oneflow-sdk-ruby <your-target-directory>

Samples

You can find order validation and submission examples in root folder