Class: Fintecture::Pis::Connect

Inherits:
Object
  • Object
show all
Defined in:
lib/fintecture/api/pis/connect.rb

Class Method Summary collapse

Class Method Details

.generate(client, payload, state, redirect_uri, origin_uri, with_virtualbeneficiary: false) ⇒ Object

———— PUBLIC METHOD ————



16
17
18
19
20
21
22
23
24
25
# File 'lib/fintecture/api/pis/connect.rb', line 16

def generate(client, payload, state, redirect_uri, origin_uri, with_virtualbeneficiary: false)

  @client = client

  # Build the request payload
  payload = _build_payload(payload)

  # Do the request
  _request payload, state, redirect_uri, origin_uri, with_virtualbeneficiary: with_virtualbeneficiary
end