Class: Raygun::TemplateRepo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repo) ⇒ TemplateRepo



5
6
7
8
# File 'lib/raygun/template_repo.rb', line 5

def initialize(repo)
  @name, @branch = repo.split('#').map(&:strip)
  fetch
end

Instance Attribute Details

#branchObject (readonly)

Returns the value of attribute branch.



3
4
5
# File 'lib/raygun/template_repo.rb', line 3

def branch
  @branch
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/raygun/template_repo.rb', line 3

def name
  @name
end

#shaObject (readonly)

Returns the value of attribute sha.



3
4
5
# File 'lib/raygun/template_repo.rb', line 3

def sha
  @sha
end

#tarballObject (readonly)

Returns the value of attribute tarball.



3
4
5
# File 'lib/raygun/template_repo.rb', line 3

def tarball
  @tarball
end