class Podio::Batch

@see developers.podio.com/doc/batch

Public Class Methods

find(id) click to toggle source

@see developers.podio.com/doc/batch/get-batch-6144225

# File lib/podio/models/batch.rb, line 23
def find(id)
  member Podio.connection.get("/batch/#{id}").body
end
find_all(options={}) click to toggle source

@see developers.podio.com/doc/batch/get-batches-6078877

# File lib/podio/models/batch.rb, line 28
def find_all(options={})
  list Podio.connection.get { |req|
    req.url("/batch/", options)
  }.body
end
find_running(ref_type, ref_id, plugin) click to toggle source

@see developers.podio.com/doc/batch/get-running-batches-15856178

# File lib/podio/models/batch.rb, line 35
def find_running(ref_type, ref_id, plugin)
  list Podio.connection.get("/batch/#{ref_type}/#{ref_id}/#{plugin}/running/").body
end