class Yoti::SignedRequest
- Yoti::SignedRequest
- Reference
- Object
Defined in:
yoti/signed_request.crConstructors
Class Method Summary
- .get(endpoint : String, &block : HTTP::Client::Response -> _)
- .post(endpoint : String, payload : Yoti::DocScan::SessionSpecification, &block : HTTP::Client::Response -> _)
Instance Method Summary
Constructor Detail
def self.new(method : String, endpoint : String, payload : Yoti::DocScan::SessionSpecification | Nil = nil, nonce : UUID | Nil = UUID.random, timestamp : Int64 | Nil = Time.utc.to_unix)
#
Class Method Detail
def self.post(endpoint : String, payload : Yoti::DocScan::SessionSpecification, &block : HTTP::Client::Response -> _)
#