Sha256: 78077911c837d76593932ffa8c5935da3837ac5814f63ece924968461001d20e

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

require_relative "../base.rb"
module Figo
  ### Object representing a process token
  class ProcessToken < Base
    @dump_attributes = [:process_token];
    def initialize(session, json)
      super(session, json)
    end

    # Properties:
    # @param process_token [Object] - Process ID
    attr_accessor :process_token
  end

  ### Object representing a Bsiness Process
  class Process < Base
    @dump_attributes = [:email, :password, :redirect_uri, :state, :steps]
    def initialize(session, json)
      super(session, json)
    end

    # Properties:
    # @param email [String] - The email of the existing user to use as context or the new user to create beforehand
    attr_accessor :email
    # @param password [String] - The password of the user existing or new user
    attr_accessor :password
    # @param redirect_uri [String] - The authorization code will be sent to this callback URL
    attr_accessor :redirect_uri
    # @param state [String] - Any kind of string that will be forwarded in the callback  response message
    attr_accessor :state
    # @param steps [String] - A list of steps definitions
    attr_accessor :steps
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
figo-1.4.1 lib/process/model.rb
figo-1.4.0 lib/process/model.rb
figo-1.3.3 lib/process/model.rb