Class: BundleInfoBase
- Defined in:
- lib/mrpin/core/bundles/bundle_info_base.rb
Instance Attribute Summary collapse
-
#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.
17 18 |
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 17 def initialize end |
Instance Attribute Details
#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
21 22 23 24 25 26 27 |
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 21 def serialize { version: version, name: name, url: url } end |