class DataManager
Public Class Methods
claim_errors()
click to toggle source
# File lib/spec/fake_server.rb, line 53 def claim_errors @claim_errors ||= claim_errors_memo.dup end
claim_errors_memo()
click to toggle source
# File lib/spec/fake_server.rb, line 20 def claim_errors_memo { 1 => { error_message: 'Send to optimis.duxware.com failed with ERROR: Did not find this ICD code in DB: 729.90', external_id: 3, id: 1, message_body: '<?xml version="1.0" encoding="UTF-8"?><incomingHeader></incomingHeader>', record_id: 43334, resent_at: nil, created_at: "2013-06-13T16:17:02Z", updated_at: "2013-06-13T16:17:02Z" }, 2 => { error_message: 'Send to optimis.duxware.com failed with ERROR: Did not find this ICD code in DB: 729.91', external_id: 4, id: 2, message_body: '<?xml version="1.0" encoding="UTF-8"?><incomingHeader></incomingHeader>', record_id: 43335, resent_at: nil, created_at: "2013-06-13T16:17:02Z", updated_at: "2013-06-13T16:17:02Z" } } end
practices()
click to toggle source
# File lib/spec/fake_server.rb, line 44 def practices @practices ||= practices_memo.dup end
practices_memo()
click to toggle source
# File lib/spec/fake_server.rb, line 6 def practices_memo { 1 => { id: 1, export_url: "https://optimis.duxware.com", external_id: 3, token: "12345", migrated_at: nil, billing: true, created_at: "2013-07-16T01:16:45Z", updated_at: "2013-07-16T01:16:45Z" } } end
reset()
click to toggle source
# File lib/spec/fake_server.rb, line 48 def reset @claim_errors = claim_errors_memo.dup @practices = practices_memo.dup end