module Mobilepay::Security::PublicKey
Security_PublicKey
Public Instance Methods
public_key()
click to toggle source
Gets the public key
# File lib/mobilepay/security/public_key.rb, line 6 def public_key response = request(:get, '/publickey') response.parsed_response rescue Failure => ex return { error: ex.message } end