class EenyMeeny::Variation

Attributes

id[R]
name[R]
options[R]
weight[R]

Public Class Methods

new(id, name: '', weight: 1, **options) click to toggle source
# File lib/eeny-meeny/models/variation.rb, line 5
def initialize(id, name: '', weight: 1, **options)
  @id = id
  @name = name
  @weight = weight
  @options = options
end