Class: BundleInfoBase
- Defined in:
- lib/mrpin/core/bundles/bundle_info_base.rb
Instance Attribute Summary collapse
-
#crc ⇒ Object
Returns the value of attribute crc.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
-
#version ⇒ Object
Properties.
Instance Method Summary collapse
-
#initialize ⇒ BundleInfoBase
constructor
A new instance of BundleInfoBase.
- #serialize ⇒ Object
Methods inherited from InfoBase
Constructor Details
#initialize ⇒ BundleInfoBase
Returns a new instance of BundleInfoBase.
18 19 |
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 18 def initialize end |
Instance Attribute Details
#crc ⇒ Object
Returns the value of attribute crc.
10 11 12 |
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 10 def crc @crc end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 8 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
9 10 11 |
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 9 def url @url end |
#version ⇒ Object
Properties
7 8 9 |
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 7 def version @version end |
Instance Method Details
#serialize ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 22 def serialize { version: @version, name: @name, url: @url, crc: @crc } end |