Sha256: 111bc61f6d03e1f7fbadcf809fbaa066a0f4bd77445f79d684757d34214375fa

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

module Fog
  module Storage
    class K5
      class Real
        def get_object(container, object, _options = {})
          request(
            method:  :GET,
            path:    "#{container}/#{object}",
            expects: 200,
          )
        end
      end

      class Mock
        def get_object(_container, _object, _options = {})
          Fog::Mock.not_implemented
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fog-k5-0.1.5 lib/fog/storage/k5/requests/get_object.rb
fog-k5-0.1.4 lib/fog/storage/k5/requests/get_object.rb
fog-k5-0.1.3 lib/fog/storage/k5/requests/get_object.rb
fog-k5-0.1.2 lib/fog/storage/k5/requests/get_object.rb
fog-k5-0.1.1 lib/fog/storage/k5/requests/get_object.rb