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