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.48 app/models/forest_liana/model/stat.rb
forest_liana-1.3.47 app/models/forest_liana/model/stat.rb
forest_liana-1.3.46 app/models/forest_liana/model/stat.rb
forest_liana-1.3.45 app/models/forest_liana/model/stat.rb
forest_liana-1.3.44 app/models/forest_liana/model/stat.rb
forest_liana-1.3.43 app/models/forest_liana/model/stat.rb
forest_liana-1.3.42 app/models/forest_liana/model/stat.rb
forest_liana-1.3.41 app/models/forest_liana/model/stat.rb
forest_liana-1.3.40 app/models/forest_liana/model/stat.rb
forest_liana-1.3.39 app/models/forest_liana/model/stat.rb
forest_liana-1.3.38 app/models/forest_liana/model/stat.rb
forest_liana-1.3.37 app/models/forest_liana/model/stat.rb
forest_liana-1.3.36 app/models/forest_liana/model/stat.rb
forest_liana-1.3.35 app/models/forest_liana/model/stat.rb
forest_liana-1.3.34 app/models/forest_liana/model/stat.rb
forest_liana-1.3.33 app/models/forest_liana/model/stat.rb
forest_liana-1.3.32 app/models/forest_liana/model/stat.rb
forest_liana-1.3.31 app/models/forest_liana/model/stat.rb
forest_liana-1.3.30 app/models/forest_liana/model/stat.rb
forest_liana-1.3.29 app/models/forest_liana/model/stat.rb