Method: Fog::Storage::IBM::Mock#format_create_volume_response_for

Defined in:
lib/fog/ibm/requests/storage/create_volume.rb

#format_create_volume_response_for(volume_id) ⇒ Object

The create_volume response doesn’t contain ioPrice either

[View source]

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