Class: CFONB::OperationDetails::RCN
- Defined in:
- lib/cfonb/operation_details/rcn.rb
Constant Summary collapse
- ATTRIBUTES =
%i[client_reference purpose].freeze
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.apply(details, line) ⇒ Object
10 11 12 13 |
# File 'lib/cfonb/operation_details/rcn.rb', line 10 def self.apply(details, line) details.client_reference = line.detail[0..34].strip details.purpose = line.detail[35..-1]&.strip end |