Class: ReCaptcha::MHClient
- Inherits:
-
Object
- Object
- ReCaptcha::MHClient
- Defined in:
- lib/recaptcha.rb
Overview
Mail hide client. Provides interfaceto ReCaptcha MailHide API
Instance Method Summary collapse
-
#crypted_address ⇒ Object
The encrypted address.
-
#initialize(pubkey, privkey, address) ⇒ MHClient
constructor
- pubkey
-
MailHide public key [privkey] MailHide private key [address] the address you want to hide.
Constructor Details
#initialize(pubkey, privkey, address) ⇒ MHClient
- pubkey
-
MailHide public key
- privkey
-
MailHide private key
- address
-
the address you want to hide.
94 95 96 97 98 |
# File 'lib/recaptcha.rb', line 94 def initialize(pubkey, privkey, address) @pubkey = pubkey @privkey = privkey @address = address end |
Instance Method Details
#crypted_address ⇒ Object
The encrypted address
100 101 102 |
# File 'lib/recaptcha.rb', line 100 def crypted_address encrypt(@address) end |