class Podio::StreamActivityGroup

@see developers.podio.com/doc/stream

Public Class Methods

find_by_event_id(ref_type, ref_id, event_id, options={}) click to toggle source
# File lib/podio/models/stream_activity_group.rb, line 26
def find_by_event_id(ref_type, ref_id, event_id, options={})
  member Podio.connection.get { |req|
    req.url("/stream/#{ref_type}/#{ref_id}/group/#{event_id}", options)
  }.body
end
find_by_ref(ref_type, ref_id, options = {}) click to toggle source
# File lib/podio/models/stream_activity_group.rb, line 20
def find_by_ref(ref_type, ref_id, options = {})
  list Podio.connection.get { |req|
    req.url("/stream/#{ref_type}/#{ref_id}/activity_group", options)
  }.body
end
find_for_data_ref(ref_type, ref_id, data_ref_type, data_ref_id, options={}) click to toggle source
# File lib/podio/models/stream_activity_group.rb, line 32
def find_for_data_ref(ref_type, ref_id, data_ref_type, data_ref_id, options={})
  member Podio.connection.get { |req|
    req.url("/stream/#{ref_type}/#{ref_id}/activity_group/#{data_ref_type}/#{data_ref_id}", options)
  }.body
end