Sha256: 1f2ad71ed713a6bd48c19283d0b2f5a75359f1dfc45112e1dd374ecb7cdda57e

Contents?: true

Size: 505 Bytes

Versions: 31

Compression:

Stored size: 505 Bytes

Contents

module Fog
  module SharedFileSystem
    class OpenStack
      class Real
        def extend_share(share_id, new_size)
          action = {
            "#{action_prefix}extend" => {
              'new_size' => new_size
            }
          }
          share_action(share_id, action)
        end
      end

      class Mock
        def extend_share(_share_id, _new_size)
          response = Excon::Response.new
          response.status = 202
          response
        end
      end
    end
  end
end

Version data entries

31 entries across 29 versions & 3 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.10 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.1.30 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.1.29 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.9 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.1.28 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.8 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.7 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.6 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.5 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.4 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.3 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.2 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.3.0 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.2.4 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.2.3 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.2.2 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.2.1 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-openstack-0.2.0 lib/fog/shared_file_system/openstack/requests/extend_share.rb
fog-zj-0.1.28 lib/fog/shared_file_system/openstack/requests/extend_share.rb