Method: Fog::Storage::IBM::Mock#format_create_volume_response_for
- Defined in:
- lib/fog/ibm/requests/storage/create_volume.rb
permalink #format_create_volume_response_for(volume_id) ⇒ Object
The create_volume response doesn’t contain ioPrice either
57 58 59 60 61 |
# File 'lib/fog/ibm/requests/storage/create_volume.rb', line 57 def format_create_volume_response_for(volume_id) # If we aren't attached/ready, make us ready ready_volume(volume_id) unless volume_attached? volume_id self.data[:volumes][volume_id].reject { |k,v| k == 'ioPrice' } end |