Class: Virgil::SDK::Client::Requests::AddRelationRequest
- Inherits:
-
SignableRequest
- Object
- SignableRequest
- Virgil::SDK::Client::Requests::AddRelationRequest
- Defined in:
- lib/virgil/sdk/client/requests/add_relation_request.rb
Overview
Create request using trusted card's snapshot
Instance Attribute Summary
Attributes inherited from SignableRequest
#relations, #signatures, #snapshot, #validation_token
Instance Method Summary collapse
-
#initialize(relation_card) ⇒ AddRelationRequest
constructor
Initializes a new instance of the class using trusted card.
Methods inherited from SignableRequest
#export, #request_model, #restore, #restore_from_snapshot_model, #sign_with, #snapshot_model, #take_snapshot
Constructor Details
#initialize(relation_card) ⇒ AddRelationRequest
Initializes a new instance of the class using trusted card
46 47 48 49 |
# File 'lib/virgil/sdk/client/requests/add_relation_request.rb', line 46 def initialize(relation_card) super() @snapshot = relation_card.to_request.snapshot end |