Class: Nova::API::Resource::Permission

Inherits:
Base show all
Defined in:
lib/nova/api/resource/permission.rb

Constant Summary collapse

ALLOWED_ATTRIBUTES =
%i[]

Constants inherited from Base

Base::PRODUCTION_HOST, Base::SCHEME, Base::STAGING_HOST

Constants inherited from Utils::BaseStruct

Utils::BaseStruct::DATE_REGEX

Class Method Summary collapse

Methods inherited from Base

base_url, #endpoint

Methods inherited from Utils::BaseStruct

#allowed_attributes

Class Method Details

.endpointObject



11
12
13
# File 'lib/nova/api/resource/permission.rb', line 11

def self.endpoint
  '/api/users/permissions'
end

.listObject



15
16
17
# File 'lib/nova/api/resource/permission.rb', line 15

def self.list
  do_get_search(endpoint, nil)
end