Class: PuppetfileResolver::Puppetfile::GitModule

Inherits:
BaseModule
  • Object
show all
Defined in:
lib/puppetfile-resolver/puppetfile/git_module.rb

Instance Attribute Summary collapse

Attributes inherited from BaseModule

#location, #module_type, #name, #owner, #resolver_flags, #title, #version

Instance Method Summary collapse

Methods inherited from BaseModule

#to_s

Constructor Details

#initialize(title) ⇒ GitModule

Returns a new instance of GitModule.



13
14
15
16
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 13

def initialize(title)
  super
  @module_type = GIT_MODULE
end

Instance Attribute Details

#commitObject

Returns the value of attribute commit.



10
11
12
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 10

def commit
  @commit
end

#refObject

Returns the value of attribute ref.



9
10
11
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 9

def ref
  @ref
end

#remoteObject

Returns the value of attribute remote.



8
9
10
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 8

def remote
  @remote
end

#tagObject

Returns the value of attribute tag.



11
12
13
# File 'lib/puppetfile-resolver/puppetfile/git_module.rb', line 11

def tag
  @tag
end