Class: Figo::Process

Inherits:
Base
  • Object
show all
Defined in:
lib/process/model.rb

Overview

Object representing a Bsiness Process

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#dump, dump_attributes

Constructor Details

#initialize(session, json) ⇒ Process

Returns a new instance of Process.



18
19
20
# File 'lib/process/model.rb', line 18

def initialize(session, json)
  super(session, json)
end

Instance Attribute Details

#emailObject

Properties:

Parameters:

  • email (String)
    • The email of the existing user to use as context or the new user to create beforehand



24
25
26
# File 'lib/process/model.rb', line 24

def email
  @email
end

#passwordObject

Parameters:

  • password (String)
    • The password of the user existing or new user



26
27
28
# File 'lib/process/model.rb', line 26

def password
  @password
end

#redirect_uriObject

Parameters:

  • redirect_uri (String)
    • The authorization code will be sent to this callback URL



28
29
30
# File 'lib/process/model.rb', line 28

def redirect_uri
  @redirect_uri
end

#stateObject

Parameters:

  • state (String)
    • Any kind of string that will be forwarded in the callback response message



30
31
32
# File 'lib/process/model.rb', line 30

def state
  @state
end

#stepsObject

Parameters:

  • steps (String)
    • A list of steps definitions



32
33
34
# File 'lib/process/model.rb', line 32

def steps
  @steps
end