Module: DevinApi::Endpoints::Enterprise
- Defined in:
- lib/devin_api/endpoints/enterprise.rb
Overview
Enterprise endpoints for the Devin API
Instance Method Summary collapse
-
#enterprise(options = {}) ⇒ DevinApi::Collection
Get enterprise collection.
-
#get_enterprise_consumption(params = {}) ⇒ Hash
Get enterprise consumption data.
-
#list_audit_logs(params = {}) ⇒ Hash
List all audit logs.
Instance Method Details
#enterprise(options = {}) ⇒ DevinApi::Collection
Get enterprise collection
11 12 13 |
# File 'lib/devin_api/endpoints/enterprise.rb', line 11 def enterprise( = {}) Collection.new(self, DevinApi::Resources::Enterprise, ) end |
#get_enterprise_consumption(params = {}) ⇒ Hash
Get enterprise consumption data
35 36 37 |
# File 'lib/devin_api/endpoints/enterprise.rb', line 35 def get_enterprise_consumption(params = {}) get('/v1/enterprise/consumption', params) end |
#list_audit_logs(params = {}) ⇒ Hash
List all audit logs
23 24 25 |
# File 'lib/devin_api/endpoints/enterprise.rb', line 23 def list_audit_logs(params = {}) get('/v1/enterprise/audit-logs', params) end |