Class: Composio::AdminApi
- Inherits:
-
Object
- Object
- Composio::AdminApi
- Defined in:
- lib/composio/api/admin_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#clear_cache(x_admin_token: SENTINEL, extra: {}) ⇒ Object
Clear cache.
-
#clear_cache_with_http_info(x_admin_token: SENTINEL, extra: {}) ⇒ Object
Clear cache.
-
#get_sentry_dns(extra: {}) ⇒ Object
Jssentry dns.
-
#get_sentry_dns_with_http_info(extra: {}) ⇒ Object
Jssentry dns.
-
#initialize(api_client = ApiClient.default) ⇒ AdminApi
constructor
A new instance of AdminApi.
Constructor Details
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
13 14 15 |
# File 'lib/composio/api/admin_api.rb', line 13 def api_client @api_client end |
Instance Method Details
#clear_cache(x_admin_token: SENTINEL, extra: {}) ⇒ Object
Clear cache
23 24 25 26 27 |
# File 'lib/composio/api/admin_api.rb', line 23 def clear_cache(x_admin_token: SENTINEL, extra: {}) extra[:x_admin_token] = x_admin_token if x_admin_token != SENTINEL api_response = clear_cache_with_http_info_impl(extra) api_response.data end |
#clear_cache_with_http_info(x_admin_token: SENTINEL, extra: {}) ⇒ Object
Clear cache
33 34 35 36 |
# File 'lib/composio/api/admin_api.rb', line 33 def clear_cache_with_http_info(x_admin_token: SENTINEL, extra: {}) extra[:x_admin_token] = x_admin_token if x_admin_token != SENTINEL clear_cache_with_http_info_impl(extra) end |
#get_sentry_dns(extra: {}) ⇒ Object
Jssentry dns
100 101 102 103 |
# File 'lib/composio/api/admin_api.rb', line 100 def get_sentry_dns(extra: {}) api_response = get_sentry_dns_with_http_info_impl(extra) api_response.data end |
#get_sentry_dns_with_http_info(extra: {}) ⇒ Object
Jssentry dns
108 109 110 |
# File 'lib/composio/api/admin_api.rb', line 108 def get_sentry_dns_with_http_info(extra: {}) get_sentry_dns_with_http_info_impl(extra) end |