Class: Secryst::Provisioning::Remotefile
- Inherits:
-
Object
- Object
- Secryst::Provisioning::Remotefile
- Defined in:
- lib/secryst/provisioning.rb
Defined Under Namespace
Classes: Model
Instance Attribute Summary collapse
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(path, uri:) ⇒ Remotefile
constructor
A new instance of Remotefile.
- #resolve(name) ⇒ Object
Constructor Details
#initialize(path, uri:) ⇒ Remotefile
Returns a new instance of Remotefile.
154 155 156 157 |
# File 'lib/secryst/provisioning.rb', line 154 def initialize(path, uri:) @yaml = YAML.load_file(path) @uri = uri end |
Instance Attribute Details
#uri ⇒ Object
Returns the value of attribute uri.
152 153 154 |
# File 'lib/secryst/provisioning.rb', line 152 def uri @uri end |