Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

devpopol/globe-mobile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Globe-Mobile API in Ruby

Developers

Description

globe-mobile provides a Ruby-based interface to Globe Telecoms Mobile API platform. To learn more of the Globe’s API, visit www.globelabs.com.ph

External gem dependencies

For using the API:

  • SOAP4R (tested with soap4r-1.5.8)

  • XMLSimple (tested with xml-simple-1.0.12)

For running tests

  • RSpec

Usage examples

require ‘rubygems’ gem ‘globe-mobile’, ‘>= 0.0.2’ require ‘mobile’

client = Mobile::Globe::SOAP::Client.configure do |config|

config.user_name = 'globeUser'
config.user_pin  = 'someRandomPin'

end

response = client.send_sms(:to_number => ‘09062224406’, :message => ‘hello from globe api’) puts response.sms_accepted? ? “SMS sent” : response

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%