Class: DevinApi::Resources::Enterprise
- Defined in:
- lib/devin_api/resources/enterprise.rb
Overview
Enterprise resource for the Devin API
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#[], #[]=, create, #id, #initialize, #method_missing, pagination_supported?, resource_name, resource_path, #respond_to_missing?, #to_hash
Constructor Details
This class inherits a constructor from DevinApi::Resources::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DevinApi::Resources::Base
Instance Method Details
#audit_logs(params = {}) ⇒ Object
13 14 15 |
# File 'lib/devin_api/resources/enterprise.rb', line 13 def audit_logs(params = {}) client.get("#{path}/audit-logs", params) end |
#consumption(params = {}) ⇒ Object
17 18 19 |
# File 'lib/devin_api/resources/enterprise.rb', line 17 def consumption(params = {}) client.get("#{path}/consumption", params) end |
#path ⇒ Object
9 10 11 |
# File 'lib/devin_api/resources/enterprise.rb', line 9 def path '/v1/enterprise' end |