Sha256: 108a801d3acd3b4553c268da4369a4cc31bde8fe206859677ac101dec360b343

Contents?: true

Size: 429 Bytes

Versions: 4

Compression:

Stored size: 429 Bytes

Contents

module Fog
  module Identity
    class HuaweiCloud
      class V3
        class Real
          def update_endpoint(id, endpoint)
            request(
              :expects => [200],
              :method  => 'PATCH',
              :path    => "endpoints/#{id}",
              :body    => Fog::JSON.encode(:endpoint => endpoint)
            )
          end
        end

        class Mock
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/identity/huaweicloud/v3/requests/update_endpoint.rb
fog-huaweicloud-0.0.2 lib/fog/identity/huaweicloud/v3/requests/update_endpoint.rb
fog-huaweicloud-0.1.3 lib/fog/identity/huaweicloud/v3/requests/update_endpoint.rb
fog-huaweicloud-0.1.2 lib/fog/identity/huaweicloud/v3/requests/update_endpoint.rb