This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Greg Moreno (author)
Tue Apr 14 23:00:17 -0700 2009
commit 0630b8d1494062715643b3244e47757c12bbc5f9
tree 07e14486f8c27e60fc425fd4773d61f343a594b4
parent 489090e936c7f4bd4ae37fbf78dcf5c2b86e6d01
tree 07e14486f8c27e60fc425fd4773d61f343a594b4
parent 489090e936c7f4bd4ae37fbf78dcf5c2b86e6d01
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.rdoc | ||
| |
Rakefile | ||
| |
globe-mobile.gemspec | ||
| |
lib/ | ||
| |
test/ |
README.rdoc
Globe-Mobile API in Ruby
Developers
- Greg Moreno <hello at gregmoreno dot ca>
- {Neil Decapia} <nldecapia at gmail dot com>
- Joseph Michael Galero <michaelgalero at gmail dot com>
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








