Sha256: d285e51b20731f3a56782bd8618487a377a8aa2e1f3061bb29813b9f76f84888

Contents?: true

Size: 270 Bytes

Versions: 7

Compression:

Stored size: 270 Bytes

Contents

module Onfido
  class Report < Resource
    def find(check_id, report_id)
      get(url: url_for("checks/#{check_id}/reports/#{report_id}"), payload: {})
    end

    def all(check_id)
      get(url: url_for("checks/#{check_id}/reports"), payload: {})
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
onfido-0.3.0 lib/onfido/report.rb
onfido-0.2.0 lib/onfido/report.rb
onfido-0.1.0 lib/onfido/report.rb
onfido-0.0.4 lib/onfido/report.rb
onfido-0.0.3 lib/onfido/report.rb
onfido-0.0.2 lib/onfido/report.rb
onfido-0.0.1 lib/onfido/report.rb