Sha256: aa03caef18c50c950656963bc05af3266e2f2c1d2309f38e41e160f42c0e090b

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 Bytes

Contents

module ActivityEngine
  class Statistic
    attr_accessor :activity_type, :count, :last_activity_date, :subject

    def initialize(subject, opts)
      @subject = subject
      opts.each_pair do |key, value|
        send("#{key}=", value)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activity_engine-0.0.9 app/models/activity_engine/statistic.rb
activity_engine-0.0.8 app/models/activity_engine/statistic.rb
activity_engine-0.0.7 app/models/activity_engine/statistic.rb
activity_engine-0.0.6 app/models/activity_engine/statistic.rb