Module: Flutterwave::Helpers
Instance Method Summary collapse
Instance Method Details
#encrypt_data(plain_text, api_key) ⇒ Object
10 11 12 |
# File 'lib/flutterwave/utils/helpers.rb', line 10 def encrypt_data(plain_text, api_key) Flutterwave::Utils::EncryptionManager.encrypt(plain_text, api_key) end |
#post(url, data) ⇒ Object
6 7 8 |
# File 'lib/flutterwave/utils/helpers.rb', line 6 def post(url, data) Flutterwave::Utils::NetworkManager.post(url, data) end |