```ruby
# @see https://developers.podio.com/doc/stream
class Podio::StreamActivityGroup < ActivePodio::Base

  property :kind, :string
  property :type, :string
  property :created_on, :datetime
  property :data, :hash

  has_one :data_ref, :class => 'Reference'
  has_one :created_by, :class => 'ByLine'
  has_one :created_via, :class => 'Via'

  class << self

    def find_by_ref(ref_type, ref_id, options = {})
      list Podio.connection.get { |req|
        req.url("/stream/#{ref_type}/#{ref_id}/v3", options)
      }.body
    end

  end

end
```

Add activities for creator groups
user
```ruby
# @see https://developers.podio.com/doc/stream
class Podio::StreamActivityGroup < ActivePodio::Base

  property :kind, :string
  property :type, :string
  property :created_on, :datetime
  property :data, :hash # kind = single
  property :activities, :array # kind = creator || type

  has_one :data_ref, :class => 'Reference'
  has_one :created_by, :class => 'ByLine'
  has_one :created_via, :class => 'Via'

  class << self

    def find_by_ref(ref_type, ref_id, options = {})
      list Podio.connection.get { |req|
        req.url("/stream/#{ref_type}/#{ref_id}/v3", options)
      }.body
    end

  end

end
```
assistant