class Veriff::Media
Public Instance Methods
file()
click to toggle source
# File lib/veriff/media.rb, line 6 def file StringIO.new(Veriff.get("/media/#{id}", signature: id).body) end
timestamp()
click to toggle source
# File lib/veriff/media.rb, line 10 def timestamp @timestamp ||= Timestamp.new(@data_hash[:timestamp]) end