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.8 app/models/forest_liana/model/stat.rb
forest_liana-1.3.7 app/models/forest_liana/model/stat.rb
forest_liana-1.3.6 app/models/forest_liana/model/stat.rb
forest_liana-1.3.5 app/models/forest_liana/model/stat.rb
forest_liana-1.3.4 app/models/forest_liana/model/stat.rb
forest_liana-1.3.3 app/models/forest_liana/model/stat.rb
forest_liana-1.3.2 app/models/forest_liana/model/stat.rb
forest_liana-1.3.1 app/models/forest_liana/model/stat.rb
forest_liana-1.3.0 app/models/forest_liana/model/stat.rb
forest_liana-1.2.6 app/models/forest_liana/model/stat.rb
forest_liana-1.2.5 app/models/forest_liana/model/stat.rb
forest_liana-1.2.3 app/models/forest_liana/model/stat.rb
forest_liana-1.2.2 app/models/forest_liana/model/stat.rb
forest_liana-1.2.1 app/models/forest_liana/model/stat.rb
forest_liana-1.1.35 app/models/forest_liana/model/stat.rb
forest_liana-1.1.34 app/models/forest_liana/model/stat.rb
forest_liana-1.1.33 app/models/forest_liana/model/stat.rb
forest_liana-1.1.32 app/models/forest_liana/model/stat.rb
forest_liana-1.1.31 app/models/forest_liana/model/stat.rb
forest_liana-1.1.30 app/models/forest_liana/model/stat.rb