Class: VagrantPlugins::VagrantBosh::Deployment::UploadedRelease
- Inherits:
-
Struct
- Object
- Struct
- VagrantPlugins::VagrantBosh::Deployment::UploadedRelease
- Defined in:
- lib/vagrant-bosh/deployment/uploadable_release.rb
Overview
UploadedRelease represents a release that was synced to a guest FS location.
Instance Attribute Summary collapse
-
#guest_dir ⇒ Object
Returns the value of attribute guest_dir.
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#guest_dir ⇒ Object
Returns the value of attribute guest_dir
76 77 78 |
# File 'lib/vagrant-bosh/deployment/uploadable_release.rb', line 76 def guest_dir @guest_dir end |
#name ⇒ Object
Returns the value of attribute name
76 77 78 |
# File 'lib/vagrant-bosh/deployment/uploadable_release.rb', line 76 def name @name end |
#version ⇒ Object
Returns the value of attribute version
76 77 78 |
# File 'lib/vagrant-bosh/deployment/uploadable_release.rb', line 76 def version @version end |
Instance Method Details
#as_hash ⇒ Object
77 78 79 |
# File 'lib/vagrant-bosh/deployment/uploadable_release.rb', line 77 def as_hash {"name" => name, "version" => version, "url" => "dir://#{guest_dir}"} end |