Sha256: 1ea99a33eea9740f3fc8ae2e58807ccd1a3d0e2e54476a84c0a514f067f8d9eb

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

module Fog
  module Identity
    class HuaweiCloud
      class V3
        class Real
          def get_policy(id)
            request(
              :expects => [200],
              :method  => 'GET',
              :path    => "policies/#{id}"
            )
          end
        end

        class Mock
          def get_policy(id)
          end
        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/get_policy.rb
fog-huaweicloud-0.0.2 lib/fog/identity/huaweicloud/v3/requests/get_policy.rb
fog-huaweicloud-0.1.3 lib/fog/identity/huaweicloud/v3/requests/get_policy.rb
fog-huaweicloud-0.1.2 lib/fog/identity/huaweicloud/v3/requests/get_policy.rb