Class: OFX::SignonRequest
- Defined in:
- lib/ofx/signon_message_set.rb,
lib/ofx/1.0.2/signon_message_set.rb
Instance Attribute Summary collapse
-
#application_identification ⇒ Object
Returns the value of attribute application_identification.
-
#client_unique_identifier ⇒ Object
Returns the value of attribute client_unique_identifier.
-
#date ⇒ Object
Returns the value of attribute date.
-
#financial_institution_identification ⇒ Object
Returns the value of attribute financial_institution_identification.
-
#generate_user_key ⇒ Object
Returns the value of attribute generate_user_key.
-
#language ⇒ Object
Returns the value of attribute language.
-
#session_cookie ⇒ Object
Returns the value of attribute session_cookie.
-
#user_identification ⇒ Object
Returns the value of attribute user_identification.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Request
Instance Attribute Details
#application_identification ⇒ Object
Returns the value of attribute application_identification.
81 82 83 |
# File 'lib/ofx/signon_message_set.rb', line 81 def application_identification @application_identification end |
#client_unique_identifier ⇒ Object
Returns the value of attribute client_unique_identifier.
82 83 84 |
# File 'lib/ofx/signon_message_set.rb', line 82 def client_unique_identifier @client_unique_identifier end |
#date ⇒ Object
Returns the value of attribute date.
75 76 77 |
# File 'lib/ofx/signon_message_set.rb', line 75 def date @date end |
#financial_institution_identification ⇒ Object
Returns the value of attribute financial_institution_identification.
79 80 81 |
# File 'lib/ofx/signon_message_set.rb', line 79 def financial_institution_identification @financial_institution_identification end |
#generate_user_key ⇒ Object
Returns the value of attribute generate_user_key.
77 78 79 |
# File 'lib/ofx/signon_message_set.rb', line 77 def generate_user_key @generate_user_key end |
#language ⇒ Object
Returns the value of attribute language.
78 79 80 |
# File 'lib/ofx/signon_message_set.rb', line 78 def language @language end |
#session_cookie ⇒ Object
Returns the value of attribute session_cookie.
80 81 82 |
# File 'lib/ofx/signon_message_set.rb', line 80 def @session_cookie end |
#user_identification ⇒ Object
Returns the value of attribute user_identification.
76 77 78 |
# File 'lib/ofx/signon_message_set.rb', line 76 def user_identification @user_identification end |
Class Method Details
.from_ofx_102_hash(request_hash) ⇒ Object
62 63 64 |
# File 'lib/ofx/1.0.2/signon_message_set.rb', line 62 def self.from_ofx_102_hash(request_hash) raise NotImplementedError end |
Instance Method Details
#ofx_102_name ⇒ Object
49 50 51 |
# File 'lib/ofx/1.0.2/signon_message_set.rb', line 49 def ofx_102_name 'SON' end |
#ofx_102_request_body ⇒ Object
52 53 54 55 56 57 58 59 60 61 |
# File 'lib/ofx/1.0.2/signon_message_set.rb', line 52 def ofx_102_request_body " <DTCLIENT>#{date.to_ofx_102_s}\n" + user_identification.to_ofx_102_s + "\n" + (" <GENUSERKEY>#{generate_user_key}\n" if generate_user_key).to_s + " <LANGUAGE>#{language}\n" + financial_institution_identification.to_ofx_102_s + "\n" + (" <SESSCOOKIE>#{}\n" if ).to_s + application_identification.to_ofx_102_s + "\n" + (" <CLIENTUID>#{client_unique_identifier}" if client_unique_identifier).to_s end |
#satisfies_requirements? ⇒ Boolean
84 85 86 |
# File 'lib/ofx/signon_message_set.rb', line 84 def satisfies_requirements? raise NotImplementedError end |