Sha256: 7cdf90a9cc3e77016bd0df5f927fde8f83e7e2c1019cf67e17c45989b98dbe01

Contents?: true

Size: 1.14 KB

Versions: 8

Compression:

Stored size: 1.14 KB

Contents

# frozen_string_literal: true
# Copyright 2018 Tristan Robert

# This file is part of Fog::Proxmox.

# Fog::Proxmox is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# Fog::Proxmox is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with Fog::Proxmox. If not, see <http://www.gnu.org/licenses/>.

# frozen_string_literal: true

module Fog
  module Identity
    class Proxmox
      # class Real list_permissions request
      class Real
        def list_permissions
          request(
            expects: [200],
            method: 'GET',
            path: 'access/acl'
          )
        end
      end

      # class Mock list_permissions request
      class Mock
        def list_permissions; end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-proxmox-0.6.0 lib/fog/identity/proxmox/requests/list_permissions.rb
fog-proxmox-0.5.5 lib/fog/identity/proxmox/requests/list_permissions.rb
fog-proxmox-0.5.4 lib/fog/identity/proxmox/requests/list_permissions.rb
fog-proxmox-0.5.3 lib/fog/identity/proxmox/requests/list_permissions.rb
fog-proxmox-0.5.2 lib/fog/identity/proxmox/requests/list_permissions.rb
fog-proxmox-0.5.1 lib/fog/identity/proxmox/requests/list_permissions.rb
fog-proxmox-0.5.0 lib/fog/identity/proxmox/requests/list_permissions.rb
fog-proxmox-0.4.0 lib/fog/identity/proxmox/requests/list_permissions.rb