Sha256: 0bc4730dfab8e9d74bd7cadec1a66eea69a7b87bef1fd618f77863dce7591660

Contents?: true

Size: 694 Bytes

Versions: 7

Compression:

Stored size: 694 Bytes

Contents

class Auth::Work::Instruction
	include Mongoid::Document
	include Auth::Concerns::ChiefModelConcern

	attr_accessor :product_id

	INSTRUCTION_TYPES = ["Before The Test","After The Test","During The Test","Who This Test is For","Who Should Not Take This Test"]

	embedded_in :product, :class_name => Auth.configuration.product_class

	field :summary_icon_class, type: String

	field :summary_text, type: String

	field :summary_icon_color, type: String

	field :include_in_summary, type: Boolean, default: false

	field :title, type: String

	field :description, type: String

	embeds_many :links, :class_name => "Auth::Work::Link"
	embeds_many :bullets, :class_name => "Auth::Work::Bullet"

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wordjelly-auth-1.1.7 app/models/auth/work/instruction.rb
wordjelly-auth-1.1.6 app/models/auth/work/instruction.rb
wordjelly-auth-1.1.5 app/models/auth/work/instruction.rb
wordjelly-auth-1.1.4 app/models/auth/work/instruction.rb
wordjelly-auth-1.1.3 app/models/auth/work/instruction.rb
wordjelly-auth-1.1.2 app/models/auth/work/instruction.rb
wordjelly-auth-1.1.1 app/models/auth/work/instruction.rb