Module: Eaglenube::ApiWrapper::AWS::Volume

Included in:
Synchronizer::AWS::Volume::VolumeSyncMethods
Defined in:
lib/eaglenube/api_wrapper/aws/volume.rb

Instance Method Summary collapse

Instance Method Details

#describe_volumes(credential, region_code) ⇒ Object



10
11
12
13
# File 'lib/eaglenube/api_wrapper/aws/volume.rb', line 10

def describe_volumes(credential, region_code)
  agent = Eaglenube::AWSAgent.get_compute_agent(credential, region_code)
  agent.describe_volumes.try(:volumes)
end