class Podio::StreamObject
Public Class Methods
find_all(options={})
click to toggle source
@see developers.podio.com/doc/stream/get-global-stream-80012
# File lib/podio/models/stream_object.rb, line 28 def find_all(options={}) list Podio.connection.get { |req| req.url("/stream/", options) }.body end
find_all_by_app_id(app_id, options={})
click to toggle source
@see developers.podio.com/doc/stream/get-app-stream-264673
# File lib/podio/models/stream_object.rb, line 49 def find_all_by_app_id(app_id, options={}) list Podio.connection.get { |req| req.url("/stream/app/#{app_id}/", options) }.body end
find_all_by_org_id(org_id, options={})
click to toggle source
@see developers.podio.com/doc/stream/get-organization-stream-80038
# File lib/podio/models/stream_object.rb, line 42 def find_all_by_org_id(org_id, options={}) list Podio.connection.get { |req| req.url("/stream/org/#{org_id}/v2/", options) }.body end
find_all_by_space_id(space_id, options={})
click to toggle source
@see developers.podio.com/doc/stream/get-space-stream-80039
# File lib/podio/models/stream_object.rb, line 35 def find_all_by_space_id(space_id, options={}) list Podio.connection.get { |req| req.url("/stream/space/#{space_id}/v2/", options) }.body end
find_all_by_user_id(user_id, options={})
click to toggle source
@see developers.podio.com/doc/stream/get-user-stream-1289318
# File lib/podio/models/stream_object.rb, line 56 def find_all_by_user_id(user_id, options={}) list Podio.connection.get { |req| req.url("/stream/user/#{user_id}/", options) }.body end
find_all_personal(options={})
click to toggle source
@see developers.podio.com/doc/stream/get-personal-stream-1656647
# File lib/podio/models/stream_object.rb, line 68 def find_all_personal(options={}) list Podio.connection.get { |req| req.url("/stream/personal/", options) }.body end
find_by_ref(ref_type, ref_id)
click to toggle source
@see developers.podio.com/doc/stream/get-stream-object-80054
# File lib/podio/models/stream_object.rb, line 63 def find_by_ref(ref_type, ref_id) member Podio.connection.get("/stream/#{ref_type}/#{ref_id}/v2").body end