Class: ScormEngine::Models::DispatchZip
- Defined in:
- lib/scorm_engine/models/dispatch_zip.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#dispatch_id ⇒ Object
Returns the value of attribute dispatch_id.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ DispatchZip
constructor
A new instance of DispatchZip.
Methods inherited from Base
Constructor Details
#initialize(options = {}) ⇒ DispatchZip
Returns a new instance of DispatchZip.
6 7 8 9 10 11 12 |
# File 'lib/scorm_engine/models/dispatch_zip.rb', line 6 def initialize( = {}) = .dup @dispatch_id = [:dispatch_id] @type = [:type] @filename = [:filename] @body = [:body] end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
4 5 6 |
# File 'lib/scorm_engine/models/dispatch_zip.rb', line 4 def body @body end |
#dispatch_id ⇒ Object
Returns the value of attribute dispatch_id.
4 5 6 |
# File 'lib/scorm_engine/models/dispatch_zip.rb', line 4 def dispatch_id @dispatch_id end |
#filename ⇒ Object
Returns the value of attribute filename.
4 5 6 |
# File 'lib/scorm_engine/models/dispatch_zip.rb', line 4 def filename @filename end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/scorm_engine/models/dispatch_zip.rb', line 4 def type @type end |