Method: Awspec::Type::Ebs#initialize
- Defined in:
- lib/awspec/type/ebs.rb
#initialize(id) ⇒ Ebs
Returns a new instance of Ebs.
5 6 7 8 9 |
# File 'lib/awspec/type/ebs.rb', line 5 def initialize(id) super @resource_via_client = find_ebs(id) @id = @resource_via_client[:volume_id] if @resource_via_client end |