Class: Payg::Utility
- Inherits:
-
Object
- Object
- Payg::Utility
- Defined in:
- lib/payg/utility.rb
Overview
Helper functions are defined here
Class Method Summary collapse
Class Method Details
.base64_encode ⇒ Object
7 8 9 |
# File 'lib/payg/utility.rb', line 7 def self.base64_encode Base64.strict_encode64("#{Payg.auth[:key]}:#{Payg.auth[:token]}:M:#{Payg.auth[:merchant_id]}") end |