Class: GPGME::InvalidKey
- Inherits:
-
Object
- Object
- GPGME::InvalidKey
- Defined in:
- lib/gpgme/misc.rb,
lib/gpgme/ffi/invalid_key.rb
Instance Attribute Summary collapse
-
#fpr ⇒ Object
(also: #fingerprint)
readonly
Returns the value of attribute fpr.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Class Method Summary collapse
Instance Attribute Details
#fpr ⇒ Object (readonly) Also known as: fingerprint
Returns the value of attribute fpr.
36 37 38 |
# File 'lib/gpgme/misc.rb', line 36 def fpr @fpr end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
36 37 38 |
# File 'lib/gpgme/misc.rb', line 36 def reason @reason end |
Class Method Details
.new_from_struct(struct) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/gpgme/ffi/invalid_key.rb', line 3 def self.new_from_struct(struct) instance = allocate instance.instance_exec do @fpr = struct[:fpr] @reason = struct[:reason] end instance end |