Class: FinchAPI::Models::Connect::SessionNewParams::Integration

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/connect/session_new_params.rb

Defined Under Namespace

Modules: AuthMethod

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auth_method: nil, provider: nil) ⇒ Integration

Returns a new instance of Integration.

Parameters:



4
# File 'lib/finch-api/models/connect/session_new_params.rb', line 4

def initialize(auth_method: nil, provider: nil, **) = super

Instance Attribute Details

#auth_methodSymbol, ...



112
113
114
# File 'lib/finch-api/models/connect/session_new_params.rb', line 112

optional :auth_method,
enum: -> { FinchAPI::Models::Connect::SessionNewParams::Integration::AuthMethod },
nil?: true

#providerString?

Returns:

  • (String, nil)


119
# File 'lib/finch-api/models/connect/session_new_params.rb', line 119

optional :provider, String, nil?: true