Class: Discharger::SetupRunner::GithubPackagesConfig
- Inherits:
-
Object
- Object
- Discharger::SetupRunner::GithubPackagesConfig
- Defined in:
- lib/discharger/setup_runner/configuration.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
- #from_hash(hash) ⇒ Object
-
#initialize ⇒ GithubPackagesConfig
constructor
A new instance of GithubPackagesConfig.
Constructor Details
#initialize ⇒ GithubPackagesConfig
Returns a new instance of GithubPackagesConfig.
64 65 66 |
# File 'lib/discharger/setup_runner/configuration.rb', line 64 def initialize @source = nil end |
Instance Attribute Details
#source ⇒ Object
Returns the value of attribute source.
62 63 64 |
# File 'lib/discharger/setup_runner/configuration.rb', line 62 def source @source end |
Instance Method Details
#from_hash(hash) ⇒ Object
68 69 70 |
# File 'lib/discharger/setup_runner/configuration.rb', line 68 def from_hash(hash) @source = hash["source"] if hash["source"] end |