Method: Fog::Storage::IBM::Mock#volume_ready?
- Defined in:
- lib/fog/ibm/requests/storage/get_volume.rb
permalink #volume_ready?(volume_id) ⇒ Boolean
Checks if an volume is Active
55 56 57 |
# File 'lib/fog/ibm/requests/storage/get_volume.rb', line 55 def volume_ready?(volume_id) self.data[:volumes][volume_id]['state'] == 4 end |