Class: EVSSClaimsSyncStatusTracker
Constant Summary
Common::RedisStore::REQ_CLASS_INSTANCE_VARS
Instance Attribute Summary collapse
Instance Method Summary
collapse
create, delete, #destroy, #destroyed?, exists?, #expire, find, find_or_build, #initialize, #initialize_dup, keys, #persisted?, pop, redis_key, redis_store, redis_ttl, #save, #save!, #ttl, #update, #update!
Instance Attribute Details
#claim_id ⇒ Object
Returns the value of attribute claim_id.
10
11
12
|
# File 'app/models/evss_claims_sync_status_tracker.rb', line 10
def claim_id
@claim_id
end
|
Instance Method Details
#delete_collection_status ⇒ Object
30
31
32
33
|
# File 'app/models/evss_claims_sync_status_tracker.rb', line 30
def delete_collection_status
status_hash.delete(collection_key)
save
end
|
#delete_single_status ⇒ Object
35
36
37
38
|
# File 'app/models/evss_claims_sync_status_tracker.rb', line 35
def delete_single_status
status_hash.delete(single_record_key)
save
end
|
#get_collection_status ⇒ Object
12
13
14
|
# File 'app/models/evss_claims_sync_status_tracker.rb', line 12
def get_collection_status
status_hash[collection_key]
end
|
#get_single_status ⇒ Object
16
17
18
|
# File 'app/models/evss_claims_sync_status_tracker.rb', line 16
def get_single_status
status_hash[single_record_key]
end
|
#set_collection_status(status) ⇒ Object
20
21
22
23
|
# File 'app/models/evss_claims_sync_status_tracker.rb', line 20
def set_collection_status(status)
status_hash[collection_key] = status
save
end
|
#set_single_status(status) ⇒ Object
25
26
27
28
|
# File 'app/models/evss_claims_sync_status_tracker.rb', line 25
def set_single_status(status)
status_hash[single_record_key] = status
save
end
|