# File lib/fog/shared_file_system/openstack/requests/create_share.rb, line 30 def create_share(protocol, size, options = {}) # stringify keys options = Hash[options.map { |k, v| [k.to_s, v] }] response = Excon::Response.new response.status = 200 share = data[:shares_detail].first.dup share['share_proto'] = protocol share['size'] = size share['status'] = 'creating' response.body = {'share' => share.merge(options)} response end