|
|
|
@@ -34,18 +34,18 @@ class IdentityVerification < ApplicationRecord |
|
|
|
end |
|
|
|
|
|
|
|
def card_front_attachment |
|
|
|
Attachment.where_id_or_uuid.first card_front |
|
|
|
Attachment.where_id_or_uuid(card_front).first |
|
|
|
end |
|
|
|
|
|
|
|
def card_back_attachment |
|
|
|
Attachment.where_id_or_uuid.first card_back |
|
|
|
Attachment.where_id_or_uuid(card_back).first |
|
|
|
end |
|
|
|
|
|
|
|
def hold_card_front_attachment |
|
|
|
Attachment.where_id_or_uuid.first hold_card_front |
|
|
|
Attachment.where_id_or_uuid(hold_card_front).first |
|
|
|
end |
|
|
|
|
|
|
|
def hold_card_back_attachment |
|
|
|
Attachment.where_id_or_uuid hold_card_back |
|
|
|
Attachment.where_id_or_uuid(hold_card_back).first |
|
|
|
end |
|
|
|
end |