Sha256: a54959c7ffee98acf006332d30ea1fdcc40894c2968e75443152ef9c151fbed7

Contents?: true

Size: 382 Bytes

Versions: 447

Compression:

Stored size: 382 Bytes

Contents

class ForestLiana::Model::Stat
  include ActiveModel::Validations
  include ActiveModel::Conversion
  include ActiveModel::Serialization
  extend ActiveModel::Naming

  attr_accessor :value

  def initialize(attributes = {})
    attributes.each do |name, value|
      send("#{name}=", value)
    end
  end

  def persisted?
    false
  end

  def id
    SecureRandom.uuid
  end
end

Version data entries

447 entries across 447 versions & 1 rubygems

Version Path
forest_liana-9.7.0 app/models/forest_liana/model/stat.rb
forest_liana-9.6.4 app/models/forest_liana/model/stat.rb
forest_liana-9.6.3 app/models/forest_liana/model/stat.rb
forest_liana-9.6.0 app/models/forest_liana/model/stat.rb
forest_liana-9.5.7 app/models/forest_liana/model/stat.rb
forest_liana-9.5.6 app/models/forest_liana/model/stat.rb
forest_liana-9.5.5 app/models/forest_liana/model/stat.rb
forest_liana-9.5.4 app/models/forest_liana/model/stat.rb
forest_liana-9.5.3 app/models/forest_liana/model/stat.rb
forest_liana-9.5.2 app/models/forest_liana/model/stat.rb
forest_liana-9.5.1 app/models/forest_liana/model/stat.rb
forest_liana-9.5.0 app/models/forest_liana/model/stat.rb
forest_liana-9.4.3 app/models/forest_liana/model/stat.rb
forest_liana-9.4.2 app/models/forest_liana/model/stat.rb
forest_liana-9.4.1 app/models/forest_liana/model/stat.rb
forest_liana-9.4.0 app/models/forest_liana/model/stat.rb
forest_liana-8.3.3 app/models/forest_liana/model/stat.rb
forest_liana-9.3.16 app/models/forest_liana/model/stat.rb
forest_liana-9.3.15 app/models/forest_liana/model/stat.rb
forest_liana-9.3.14 app/models/forest_liana/model/stat.rb