Method: Awspec::Type::Ebs#initialize

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

#initialize(id) ⇒ Ebs

Returns a new instance of Ebs.



6
7
8
9
10
# File 'lib/awspec/type/ebs.rb', line 6

def initialize(id)
  super
  @resource_via_client = find_ebs(id)
  @id = @resource_via_client.volume_id if @resource_via_client
end