Class: Composio::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/composio.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#actionsObject (readonly)

Returns the value of attribute actions.



236
237
238
# File 'lib/composio.rb', line 236

def actions
  @actions
end

#adminObject (readonly)

Returns the value of attribute admin.



237
238
239
# File 'lib/composio.rb', line 237

def admin
  @admin
end

#analyticsObject (readonly)

Returns the value of attribute analytics.



238
239
240
# File 'lib/composio.rb', line 238

def analytics
  @analytics
end

#api_keysObject (readonly)

Returns the value of attribute api_keys.



235
236
237
# File 'lib/composio.rb', line 235

def api_keys
  @api_keys
end

#appsObject (readonly)

Returns the value of attribute apps.



239
240
241
# File 'lib/composio.rb', line 239

def apps
  @apps
end

#authObject (readonly)

Returns the value of attribute auth.



240
241
242
# File 'lib/composio.rb', line 240

def auth
  @auth
end

#cliObject (readonly)

Returns the value of attribute cli.



241
242
243
# File 'lib/composio.rb', line 241

def cli
  @cli
end

#connectionsObject (readonly)

Returns the value of attribute connections.



242
243
244
# File 'lib/composio.rb', line 242

def connections
  @connections
end

#event_logsObject (readonly)

Returns the value of attribute event_logs.



243
244
245
# File 'lib/composio.rb', line 243

def event_logs
  @event_logs
end

#integrationsObject (readonly)

Returns the value of attribute integrations.



244
245
246
# File 'lib/composio.rb', line 244

def integrations
  @integrations
end

#logsObject (readonly)

Returns the value of attribute logs.



245
246
247
# File 'lib/composio.rb', line 245

def logs
  @logs
end

#triggersObject (readonly)

Returns the value of attribute triggers.



246
247
248
# File 'lib/composio.rb', line 246

def triggers
  @triggers
end