Module: Veeam::Client::Companies

Included in:
Veeam::Client
Defined in:
lib/veeam/client/companies.rb

Overview

Defines methods related to companies resource

Instance Method Summary collapse

Instance Method Details

#companiesObject

Get all backupjob reports



8
9
10
# File 'lib/veeam/client/companies.rb', line 8

def companies
  get_paged('/api/v3/organizations/companies')
end

#company(company_id) ⇒ Object



12
13
14
# File 'lib/veeam/client/companies.rb', line 12

def company(company_id)
  get("/api/v3/organizations/companies/#{company_id}")
end