Sha256: 9eb4dbc1744a6c76ad00d7a803a547ff05fa0d6896fc08bbed187ffad9c4e4cb

Contents?: true

Size: 803 Bytes

Versions: 6

Compression:

Stored size: 803 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"
	embeds_many :communications, :class_name => "Auth::Work::Communication", :as => :instruction_communications

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wordjelly-auth-1.2.3 app/models/auth/work/instruction.rb
wordjelly-auth-1.2.2 app/models/auth/work/instruction.rb
wordjelly-auth-1.2.1 app/models/auth/work/instruction.rb
wordjelly-auth-1.2.0 app/models/auth/work/instruction.rb
wordjelly-auth-1.1.9 app/models/auth/work/instruction.rb
wordjelly-auth-1.1.8 app/models/auth/work/instruction.rb