Sha256: a9408eda9123464cee20554636d9abf6f78f56320047f388c7deba0c33cdc8d3

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

module Onfido
  class LiveVideo < Resource
    def find(live_video_id)
      get(path: "live_videos/#{live_video_id}")
    end

    def download(live_video_id)
      get(path: "live_videos/#{live_video_id}/download")
    end

    def all(applicant_id)
      get(path: "live_videos?applicant_id=#{applicant_id}")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
onfido-1.1.1 lib/onfido/resources/live_video.rb
onfido-1.1.0 lib/onfido/resources/live_video.rb
onfido-1.0.0 lib/onfido/resources/live_video.rb