Class: GPGME::UserID
- Inherits:
-
Object
- Object
- GPGME::UserID
- Defined in:
- lib/gpgme/user_id.rb,
ext/gpgme/gpgme_n.c
Instance Attribute Summary collapse
-
#comment ⇒ Object
readonly
Returns the value of attribute comment.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#signatures ⇒ Object
readonly
Returns the value of attribute signatures.
-
#uid ⇒ Object
readonly
Returns the value of attribute uid.
-
#validity ⇒ Object
readonly
Returns the value of attribute validity.
Instance Method Summary collapse
Instance Attribute Details
#comment ⇒ Object (readonly)
Returns the value of attribute comment.
5 6 7 |
# File 'lib/gpgme/user_id.rb', line 5 def comment @comment end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
5 6 7 |
# File 'lib/gpgme/user_id.rb', line 5 def email @email end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/gpgme/user_id.rb', line 5 def name @name end |
#signatures ⇒ Object (readonly)
Returns the value of attribute signatures.
5 6 7 |
# File 'lib/gpgme/user_id.rb', line 5 def signatures @signatures end |
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
5 6 7 |
# File 'lib/gpgme/user_id.rb', line 5 def uid @uid end |
#validity ⇒ Object (readonly)
Returns the value of attribute validity.
5 6 7 |
# File 'lib/gpgme/user_id.rb', line 5 def validity @validity end |
Instance Method Details
#inspect ⇒ Object
15 16 17 18 |
# File 'lib/gpgme/user_id.rb', line 15 def inspect "#<#{self.class} #{name} <#{email}> \ validity=#{VALIDITY_NAMES[validity]}, signatures=#{signatures.inspect}>" end |
#invalid? ⇒ Boolean
11 12 13 |
# File 'lib/gpgme/user_id.rb', line 11 def invalid? @invalid == 1 end |
#revoked? ⇒ Boolean
7 8 9 |
# File 'lib/gpgme/user_id.rb', line 7 def revoked? @revoked == 1 end |