Class: Composio::Client
- Inherits:
-
Object
- Object
- Composio::Client
- Defined in:
- lib/composio.rb
Instance Attribute Summary collapse
-
#actions ⇒ Object
readonly
Returns the value of attribute actions.
-
#admin ⇒ Object
readonly
Returns the value of attribute admin.
-
#analytics ⇒ Object
readonly
Returns the value of attribute analytics.
-
#api_keys ⇒ Object
readonly
Returns the value of attribute api_keys.
-
#apps ⇒ Object
readonly
Returns the value of attribute apps.
-
#auth ⇒ Object
readonly
Returns the value of attribute auth.
-
#cli ⇒ Object
readonly
Returns the value of attribute cli.
-
#connections ⇒ Object
readonly
Returns the value of attribute connections.
-
#event_logs ⇒ Object
readonly
Returns the value of attribute event_logs.
-
#integrations ⇒ Object
readonly
Returns the value of attribute integrations.
-
#logs ⇒ Object
readonly
Returns the value of attribute logs.
-
#triggers ⇒ Object
readonly
Returns the value of attribute triggers.
Instance Method Summary collapse
-
#initialize(config = Configuration.default) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(config = Configuration.default) ⇒ Client
Returns a new instance of Client.
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'lib/composio.rb', line 248 def initialize(config = Configuration.default) @api_client = ApiClient::new(config) @api_keys = Composio::APIKeysApi.new(@api_client) @actions = Composio::ActionsApi.new(@api_client) @admin = Composio::AdminApi.new(@api_client) @analytics = Composio::AnalyticsApi.new(@api_client) @apps = Composio::AppsApi.new(@api_client) @auth = Composio::AuthApi.new(@api_client) @cli = Composio::CLIApi.new(@api_client) @connections = Composio::ConnectionsApi.new(@api_client) @event_logs = Composio::EventLogsApi.new(@api_client) @integrations = Composio::IntegrationsApi.new(@api_client) @logs = Composio::LogsApi.new(@api_client) @triggers = Composio::TriggersApi.new(@api_client) end |
Instance Attribute Details
#actions ⇒ Object (readonly)
Returns the value of attribute actions.
236 237 238 |
# File 'lib/composio.rb', line 236 def actions @actions end |
#admin ⇒ Object (readonly)
Returns the value of attribute admin.
237 238 239 |
# File 'lib/composio.rb', line 237 def admin @admin end |
#analytics ⇒ Object (readonly)
Returns the value of attribute analytics.
238 239 240 |
# File 'lib/composio.rb', line 238 def analytics @analytics end |
#api_keys ⇒ Object (readonly)
Returns the value of attribute api_keys.
235 236 237 |
# File 'lib/composio.rb', line 235 def api_keys @api_keys end |
#apps ⇒ Object (readonly)
Returns the value of attribute apps.
239 240 241 |
# File 'lib/composio.rb', line 239 def apps @apps end |
#auth ⇒ Object (readonly)
Returns the value of attribute auth.
240 241 242 |
# File 'lib/composio.rb', line 240 def auth @auth end |
#cli ⇒ Object (readonly)
Returns the value of attribute cli.
241 242 243 |
# File 'lib/composio.rb', line 241 def cli @cli end |
#connections ⇒ Object (readonly)
Returns the value of attribute connections.
242 243 244 |
# File 'lib/composio.rb', line 242 def connections @connections end |
#event_logs ⇒ Object (readonly)
Returns the value of attribute event_logs.
243 244 245 |
# File 'lib/composio.rb', line 243 def event_logs @event_logs end |
#integrations ⇒ Object (readonly)
Returns the value of attribute integrations.
244 245 246 |
# File 'lib/composio.rb', line 244 def integrations @integrations end |
#logs ⇒ Object (readonly)
Returns the value of attribute logs.
245 246 247 |
# File 'lib/composio.rb', line 245 def logs @logs end |
#triggers ⇒ Object (readonly)
Returns the value of attribute triggers.
246 247 248 |
# File 'lib/composio.rb', line 246 def triggers @triggers end |