Class: BundleInfoBase

Inherits:
InfoBase show all
Defined in:
lib/mrpin/core/bundles/bundle_info_base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from InfoBase

attributes, ignored_methods

Constructor Details

#initializeBundleInfoBase

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

#crcObject

Returns the value of attribute crc.



10
11
12
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 10

def crc
  @crc
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 8

def name
  @name
end

#urlObject

Returns the value of attribute url.



9
10
11
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 9

def url
  @url
end

#versionObject

Properties



7
8
9
# File 'lib/mrpin/core/bundles/bundle_info_base.rb', line 7

def version
  @version
end

Instance Method Details

#serializeObject



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