Class: JarDownload::PomXML

Inherits:
Object
  • Object
show all
Defined in:
lib/jar_download.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(jar_info = {}) ⇒ PomXML

Returns a new instance of PomXML.



10
11
12
# File 'lib/jar_download.rb', line 10

def initialize(jar_info = {})
    @group_id, @jar_name, @version = jar_info[:group_id], jar_info[:jar_name], jar_info[:version]
end

Instance Attribute Details

#group_idObject

Returns the value of attribute group_id.



8
9
10
# File 'lib/jar_download.rb', line 8

def group_id
  @group_id
end

#jar_nameObject

Returns the value of attribute jar_name.



8
9
10
# File 'lib/jar_download.rb', line 8

def jar_name
  @jar_name
end

#versionObject

Returns the value of attribute version.



8
9
10
# File 'lib/jar_download.rb', line 8

def version
  @version
end