Method: Awspec::Type::Ebs#initialize

Defined in:
lib/awspec/type/ebs.rb

#initialize(id) ⇒ Ebs

Returns a new instance of Ebs.



3
4
5
6
7
# File 'lib/awspec/type/ebs.rb', line 3

def initialize(id)
  super
  @resource = find_ebs(id)
  @id = @resource[:volume_id] if @resource
end