Class: Mintchip::MintchipMessage
- Inherits:
-
Object
- Object
- Mintchip::MintchipMessage
- Defined in:
- lib/mintchip/mintchip_message.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(value, response_url, annotation) ⇒ MintchipMessage
constructor
A new instance of MintchipMessage.
- #to_base64 ⇒ Object
Constructor Details
#initialize(value, response_url, annotation) ⇒ MintchipMessage
Returns a new instance of MintchipMessage.
4 5 6 7 8 |
# File 'lib/mintchip/mintchip_message.rb', line 4 def initialize(value, response_url, annotation, *) @value = value @response_url = response_url @annotation = annotation end |
Instance Method Details
#to_base64 ⇒ Object
10 11 12 |
# File 'lib/mintchip/mintchip_message.rb', line 10 def to_base64 Base64.strict_encode64(.to_der) end |