Class: OFX::Document::SignonMessageSet

Inherits:
OFX::Document show all
Defined in:
lib/ofx/document/signon_message_set.rb

Direct Known Subclasses

SignonRequest

Instance Method Summary collapse

Methods inherited from OFX::Document

#bank, #signon

Methods inherited from Aggregate

#root

Constructor Details

#initialize(options = {}) ⇒ SignonMessageSet

Returns a new instance of SignonMessageSet.



5
6
7
8
9
10
11
12
13
14
# File 'lib/ofx/document/signon_message_set.rb', line 5

def initialize(options = {})
  @user = options[:user]
  @password = options[:password]
  @time = options[:time]
  @fi_org = options[:fi_org]
  @fi_fid = options[:fi_fid]
  @app_id = options[:app_id]
  @app_ver = options[:app_ver]
  super
end

Instance Method Details

#sonrqObject



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/ofx/document/signon_message_set.rb', line 16

def sonrq
  SignonRequest.new(
    name: :sonrq,
    user: @user,
    password: @password,
    time: @time,
    fi_org: @fi_org,
    fi_fid: @fi_fid,
    app_id: @app_id,
    app_ver: @app_ver
  )
end