
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Globe Connect for Ruby platform provides an implementation of Globe APIs e.g Authentication, Amax, Sms etc. that is easy to use and can be integrated in your existing Ruby application. Below shows some samples on how to use the API depending on the functionality that you need to integrate in your application.
require 'globe_connect'
authenticate = Authentication.new
url = authenticate.get_access_url('[APP ID]')
response = authenticate.get_access_token('[APP ID]', '[APP_SECRET]', '[CODE]')
puts response
require 'globe_connect'
amax = Amax.new('[APP ID]', '[APP SECRET]')
response = amax.send_reward_request('[ADDRESS]', '[PROMO NAME]', '[TOKEN]')
puts response
require 'globe_connect'
binary = Sms.new('[ACCESS TOKEN]', [SHORT CODE])
response = binary.send_binary_message('[ADDRESS]', '[MESSAGE]', '[USER DATA HEADER]')
puts response
require 'globe_connect'
location = LocationQuery.new('[ACCESS TOKEN]')
response = location.get_location('[ADDRESS]', [ACCURACY])
puts response
require 'globe_connect'
payment = Payment.new('[APP ID]', '[APP SECRET]', '[ACCESS TOKEN]')
response = payment.send_payment_request([AMOUNT], '[DESCRIPTION]', '[ADDRESS]', '[END USER ID]', '[TRANSACTION OPERATION STATUS]')
puts response
require 'globe_connect'
payment = Payment.new('[APP ID]', '[APP SECRET]')
response = payment.get_last_reference_code
puts response
require 'globe_connect'
sms = Sms.new('[ACCESS TOKEN]', [SHORT CODE])
response = sms.send_message('[ADDRESS]', '[MESSAGE]')
puts response
require 'globe_connect'
subscriber = Subscriber.new('[ACCESS TOKEN]')
response = subscriber.get_subscriber_balance('[ADDRESS]')
puts response
require 'globe_connect'
subscriber = Subscriber.new('[ACCESS TOKEN]')
response = subscriber.get_subscriber_reload_amount('[ADDRESS]')
require 'globe_connect'
ussd = Ussd.new('[ACCESS TOKEN]', [SHORT CODE])
response = ussd.send_ussd_request('[ADDRESS]', '[MESSAGE]', [FLASH])
puts response
require 'globe_connect'
ussd = Ussd.new('[ACCESS TOKEN]', [SHORT CODE])
response = ussd.reply_ussd_request('[ADDRESS]', '[MESSAGE]', '[SESSION ID]', [FLASH])
puts response
FAQs
Unknown package
We found that globe_connect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.