Streak的客户端- Ruby客户端的条纹REST API。此客户端为包装的条纹REST API,由乡亲提供一个Gmail的CRM工具。

用法设置


require 'streak_client'

StreakClient.api_key = YOUR_API_KEY

创建资源


@pipeline = StreakClient::Pipeline.create(name: 'Test', description: 'T')

@box = StreakClient::Box.create(@pipeline.pipelineKey, {name: 'Test Box'})

加载现有资源


@pipelines = StreakClient::Pipeline.all

@box = StreakClient::Box