Class: BitbucketMigration::GitRepository

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, name, language) ⇒ GitRepository

Holds values for specific git source repository



28
29
30
31
32
# File 'lib/bitbucket_migration/git_repository.rb', line 28

def initialize(url, name, language)
  self.url      =url
  self.name     =name
  self.language =language
end

Instance Attribute Details

#languageObject

Returns the value of attribute language.



3
4
5
# File 'lib/bitbucket_migration/git_repository.rb', line 3

def language
  @language
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/bitbucket_migration/git_repository.rb', line 3

def name
  @name
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/bitbucket_migration/git_repository.rb', line 3

def url
  @url
end