Sha256: 068a3dc6582b824e3ecd055998273b6011c38a69d167135750747ac410ff7b16
Contents?: true
Size: 556 Bytes
Versions: 20
Compression:
Stored size: 556 Bytes
Contents
module Fog module OpenStack class SharedFileSystem class Real def get_share(id) request( :expects => 200, :method => 'GET', :path => "shares/#{id}" ) end end class Mock def get_share(id) response = Excon::Response.new response.status = 200 share = data[:share_updated] || data[:shares_detail].first share['id'] = id response.body = share response end end end end end
Version data entries
20 entries across 20 versions & 3 rubygems