Class: OFX::FinancialInstitutionProfileRequest

Inherits:
TransactionalRequest show all
Defined in:
lib/ofx/financial_institution_profile_message_set.rb,
lib/ofx/1.0.2/financial_institution_profile_message_set.rb

Instance Attribute Summary collapse

Attributes inherited from TransactionalRequest

#client_cookie, #transaction_authorization_number, #transaction_identifier

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from TransactionalRequest

#to_ofx_102_s

Methods inherited from Request

#satisfies_requirements?, #to_ofx_102_s

Instance Attribute Details

#client_routingObject

Returns the value of attribute client_routing.



46
47
48
# File 'lib/ofx/financial_institution_profile_message_set.rb', line 46

def client_routing
  @client_routing
end

#date_of_last_profile_updateObject

Returns the value of attribute date_of_last_profile_update.



47
48
49
# File 'lib/ofx/financial_institution_profile_message_set.rb', line 47

def date_of_last_profile_update
  @date_of_last_profile_update
end

Class Method Details

.from_ofx_102_hash(transaction_hash) ⇒ Object

Raises:

  • (NotImplementedError)


60
61
62
# File 'lib/ofx/1.0.2/financial_institution_profile_message_set.rb', line 60

def self.from_ofx_102_hash(transaction_hash)
    raise NotImplementedError
end

Instance Method Details

#ofx_102_nameObject



52
53
54
# File 'lib/ofx/1.0.2/financial_institution_profile_message_set.rb', line 52

def ofx_102_name
    'PROF'
end

#ofx_102_request_bodyObject



55
56
57
58
# File 'lib/ofx/1.0.2/financial_institution_profile_message_set.rb', line 55

def ofx_102_request_body
    "        <CLIENTROUTING>#{client_routing}\n" +
    "        <DTPROFUP>#{date_of_last_profile_update.to_ofx_102_s}"
end