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-1.3.28 app/models/forest_liana/model/stat.rb
forest_liana-1.3.27 app/models/forest_liana/model/stat.rb
forest_liana-1.3.26 app/models/forest_liana/model/stat.rb
forest_liana-1.3.25 app/models/forest_liana/model/stat.rb
forest_liana-1.3.24 app/models/forest_liana/model/stat.rb
forest_liana-1.3.23 app/models/forest_liana/model/stat.rb
forest_liana-1.3.22 app/models/forest_liana/model/stat.rb
forest_liana-1.3.21 app/models/forest_liana/model/stat.rb
forest_liana-1.3.20 app/models/forest_liana/model/stat.rb
forest_liana-1.3.19 app/models/forest_liana/model/stat.rb
forest_liana-1.3.18 app/models/forest_liana/model/stat.rb
forest_liana-1.3.17 app/models/forest_liana/model/stat.rb
forest_liana-1.3.16 app/models/forest_liana/model/stat.rb
forest_liana-1.3.15 app/models/forest_liana/model/stat.rb
forest_liana-1.3.14 app/models/forest_liana/model/stat.rb
forest_liana-1.3.13 app/models/forest_liana/model/stat.rb
forest_liana-1.3.12 app/models/forest_liana/model/stat.rb
forest_liana-1.3.11 app/models/forest_liana/model/stat.rb
forest_liana-1.3.10 app/models/forest_liana/model/stat.rb
forest_liana-1.3.9 app/models/forest_liana/model/stat.rb