Class: Clickwrap::Integrity::AttestationReconciler::Outcome
- Inherits:
-
Data
- Object
- Data
- Clickwrap::Integrity::AttestationReconciler::Outcome
- Defined in:
- lib/clickwrap/integrity/attestation_reconciler.rb
Instance Attribute Summary collapse
-
#attestation_id ⇒ Object
readonly
Returns the value of attribute attestation_id.
-
#event_id ⇒ Object
readonly
Returns the value of attribute event_id.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#attestation_id ⇒ Object (readonly)
Returns the value of attribute attestation_id
17 18 19 |
# File 'lib/clickwrap/integrity/attestation_reconciler.rb', line 17 def attestation_id @attestation_id end |
#event_id ⇒ Object (readonly)
Returns the value of attribute event_id
17 18 19 |
# File 'lib/clickwrap/integrity/attestation_reconciler.rb', line 17 def event_id @event_id end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
17 18 19 |
# File 'lib/clickwrap/integrity/attestation_reconciler.rb', line 17 def kind @kind end |
#state ⇒ Object (readonly)
Returns the value of attribute state
17 18 19 |
# File 'lib/clickwrap/integrity/attestation_reconciler.rb', line 17 def state @state end |
Instance Method Details
#recorded? ⇒ Boolean
18 |
# File 'lib/clickwrap/integrity/attestation_reconciler.rb', line 18 def recorded? = attestation_id.present? |
#to_h ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/clickwrap/integrity/attestation_reconciler.rb', line 20 def to_h { "event_id" => event_id, "kind" => kind, "state" => state, "attestation_id" => attestation_id }.compact end |