Sha256: 89f42ca4da9f872bd254e358f92d62197065215d7ab97d5e7bc59d4e593a42b2

Contents?: true

Size: 397 Bytes

Versions: 4

Compression:

Stored size: 397 Bytes

Contents

module Fog
  module SharedFileSystem
    class HuaweiCloud
      class Real
        def share_network_action(id, options = {}, expects_status = 200)
          request(
            :body    => Fog::JSON.encode(options),
            :expects => expects_status,
            :method  => 'POST',
            :path    => "share-networks/#{id}/action"
          )
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/shared_file_system/huaweicloud/requests/share_network_action.rb
fog-huaweicloud-0.0.2 lib/fog/shared_file_system/huaweicloud/requests/share_network_action.rb
fog-huaweicloud-0.1.3 lib/fog/shared_file_system/huaweicloud/requests/share_network_action.rb
fog-huaweicloud-0.1.2 lib/fog/shared_file_system/huaweicloud/requests/share_network_action.rb