Class: OFX::SignupMessageSetProfile
- Inherits:
-
MessageSetProfile
- Object
- MessageSetProfile
- OFX::SignupMessageSetProfile
- Defined in:
- lib/ofx/signup_message_set.rb,
lib/ofx/1.0.2/signup_message_set.rb,
lib/ofx/1.0.2/signup_message_set.rb
Instance Attribute Summary collapse
-
#available_account_requests_allowed ⇒ Object
Returns the value of attribute available_account_requests_allowed.
-
#enrollment ⇒ Object
Returns the value of attribute enrollment.
-
#service_activation_requests_allowed ⇒ Object
Returns the value of attribute service_activation_requests_allowed.
-
#user_information_changes_allowed ⇒ Object
Returns the value of attribute user_information_changes_allowed.
Attributes inherited from MessageSetProfile
#language, #message_set_class, #message_url, #required_ofx_security, #requires_transport_security, #service_provider_name, #signon_realm, #supports_response_file_error_recovery, #synchronization_mode, #version
Class Method Summary collapse
Instance Method Summary collapse
- #available_account_requests_allowed? ⇒ Boolean
- #service_activation_requests_allowed? ⇒ Boolean
- #user_information_changes_allowed? ⇒ Boolean
Methods inherited from MessageSetProfile
#from_ofx_102_hash, #requires_transport_security?, #supports_response_file_error_recovery?
Instance Attribute Details
#available_account_requests_allowed ⇒ Object
Returns the value of attribute available_account_requests_allowed.
38 39 40 |
# File 'lib/ofx/signup_message_set.rb', line 38 def available_account_requests_allowed @available_account_requests_allowed end |
#enrollment ⇒ Object
Returns the value of attribute enrollment.
33 34 35 |
# File 'lib/ofx/signup_message_set.rb', line 33 def enrollment @enrollment end |
#service_activation_requests_allowed ⇒ Object
Returns the value of attribute service_activation_requests_allowed.
42 43 44 |
# File 'lib/ofx/signup_message_set.rb', line 42 def service_activation_requests_allowed @service_activation_requests_allowed end |
#user_information_changes_allowed ⇒ Object
Returns the value of attribute user_information_changes_allowed.
34 35 36 |
# File 'lib/ofx/signup_message_set.rb', line 34 def user_information_changes_allowed @user_information_changes_allowed end |
Class Method Details
.from_ofx_102_hash(message_set_description_hash) ⇒ Object
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/ofx/1.0.2/signup_message_set.rb', line 48 def self.from_ofx_102_hash() profile = OFX::SignupMessageSetProfile.new profile. = OFX::SignupMessageSet profile.from_ofx_102_hash() if (['CLIENTENROLL']) profile.enrollment = OFX::ClientEnrollment.new((['CLIENTENROLL']['ACCTREQUIRED'] == 'Y')) elsif (['WEBENROLL']) profile.enrollment = OFX::WebEnrollment.new(URI.parse(['WEBENROLL']['URL'])) elsif (['OTHERENROLL']) profile.enrollment = OFX::OtherEnrollment.new(['OTHERENROLL']['MESSAGE']) end profile.user_information_changes_allowed = ['CHGUSERINFO'] == 'Y' profile.available_account_requests_allowed = ['AVAILACCTS'] == 'Y' profile.service_activation_requests_allowed = ['CLIENTACTREQ'] == 'Y' profile end |
.message_set_class ⇒ Object
29 30 31 |
# File 'lib/ofx/signup_message_set.rb', line 29 def self. SignupMessageSet end |
Instance Method Details
#available_account_requests_allowed? ⇒ Boolean
39 40 41 |
# File 'lib/ofx/signup_message_set.rb', line 39 def available_account_requests_allowed? available_account_requests_allowed end |
#service_activation_requests_allowed? ⇒ Boolean
43 44 45 |
# File 'lib/ofx/signup_message_set.rb', line 43 def service_activation_requests_allowed? service_activation_requests_allowed end |
#user_information_changes_allowed? ⇒ Boolean
35 36 37 |
# File 'lib/ofx/signup_message_set.rb', line 35 def user_information_changes_allowed? user_information_changes_allowed end |