Sha256: 4663e38e77c1ecf8cea8351129c195917418ff5450499673b7278c9dc9591a61

Contents?: true

Size: 377 Bytes

Versions: 47

Compression:

Stored size: 377 Bytes

Contents

class Auth::Work::Parameter
	include Mongoid::Document
	include Mongoid::Timestamps
	field :name, type: String
	embedded_in :product, :class_name => Auth.configuration.product_class
	field :choices, type: Array, default: []
	## for eg : if choices are numerical, and there are two of them, then they form the upper and lower limit.
	field :choices_are_limits, type: Boolean
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.9 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.8 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.7 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.6 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.5 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.4 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.3 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.2 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.1 app/models/auth/work/parameter.rb
wordjelly-auth-1.5.0 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.9 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.8 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.7 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.6 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.5 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.4 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.3 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.2 app/models/auth/work/parameter.rb
wordjelly-auth-1.4.0 app/models/auth/work/parameter.rb