class Sunnyside::ClientData
Attributes
client_id[R]
dob[R]
recipient_id[R]
service_id[R]
Public Class Methods
new(client)
click to toggle source
# File lib/sunnyside/ledger/auth_report.rb, line 92 def initialize(client) @client_id, @service_id, @dob, @recipient_id, @authorization = client.split.map { |line| line.strip } end
Public Instance Methods
date_of_birth()
click to toggle source
Not parsing correctly.
# File lib/sunnyside/ledger/auth_report.rb, line 98 def date_of_birth Date.strptime(dob, '%m/%d/%Y') end