class ScormEngine::Models::DispatchZip

Attributes

body[RW]

@attr

@return [String]

dispatch_id[RW]

@attr The external identification of the dispatch. @return [String]

filename[RW]

@attr

@return [String]

type[RW]

@attr The type of ZIP package to generate. @return [String] (SCORM12, SCORM2004-3RD, AICC)

Public Class Methods

new(options = {}) click to toggle source

rubocop:disable Lint/MissingSuper

# File lib/scorm_engine/models/dispatch_zip.rb, line 25
def initialize(options = {})
  @options = options.dup
  @dispatch_id = options[:dispatch_id]
  @type = options[:type]&.upcase
  @filename = options[:filename]
  @body = options[:body]
end