Sha256: 32d0e780ca3cd2930a9a91d1dbb0634cb8db0275c3b263bfc721f84361d9e76b

Contents?: true

Size: 1.36 KB

Versions: 4

Compression:

Stored size: 1.36 KB

Contents

require_relative "../base.rb"
module Figo

  class TaskToken < Base
    @dump_attributes = [:task_token]

    def initialize(session, json)
      super(session, json)
    end
    # Name of creditor or debtor
    # @param task_token [Hash] - Task ID
    attr_accessor :task_token
  end

  class TaskState < Base
    @dump_attributes = [:account_id, :message, :is_waiting_for_pin, :is_waiting_for_response, :is_erroneous, :is_ended, :challenge]

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

    # @param account_id [String] - Account ID of currently processed accoount
    attr_accessor :account_id

    # @param message [String] - Status message or error message for currently processed amount
    attr_accessor :message

    # @param is_waiting_for_pin [Boolean] - The figo Connect server is waiting for PIN
    attr_accessor :is_waiting_for_pin

    # @param is_waiting_for_response [Boolean] - The figo Connect server is waiting for a response to the parameter challenge
    attr_accessor :is_waiting_for_response

    # @param is_erroneous [Boolean] - An error occured and the figo Connect server is waiting for continuation
    attr_accessor :is_erroneous

    # @param is_ended [Boolean] - The communication with a bank server has been completed
    attr_accessor :is_ended

    # @param challenge [Object] - A challenge object
    attr_accessor :challenge
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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