Skip to content

Instantly share code, notes, and snippets.

David Pereira david-dcp

View GitHub Profile
View gist:c93f166ac4e7feafdc4b0d516e2aeeb0
#<struct ZenSend::SmsResponse tx_guid="c54ac21a-6851-4ea4-b371-a7c1b9c07f16", numbers=1,
sms_parts=1, encoding="gsm", cost_in_pence=2.3, new_balance_in_pence=56.3>
View gist:d3384907c5492f1fb4bbfa5f3f32be84
https://gist.github.com/david-dcp/d75cdc8ff972dd2039c3d512a14c3101
View gist:518317c1adf412383f026063f7a2d5e9
$ ruby send_sms.rb
#<struct ZenSend::SmsResponse tx_guid="c54ac21a-6851-4ea4-b371-a7c1b9c07f16", numbers=1,
sms_parts=1, encoding="gsm", cost_in_pence=2.3, new_balance_in_pence=56.3>
View gist:03818371e01023da2e6d3c5dd43e6d9b
$ ruby send_sms.rb
#<struct ZenSend::SmsResponse tx_guid="c54ac21a-6851-4ea4-b371-a7c1b9c07f16", numbers=1, sms_parts=1, encoding="gsm", cost_in_pence=2.3, new_balance_in_pence=56.3>
View example.rb
require 'zensend'
client = ZenSend::Client.new("auxX2MQV4bTI23kemRUr2g")
begin
result = client.send_sms(
originator: "FromZensend",
# Add your number here to send a message to yourself
# The number should be in international format.
View example.rb
require 'zensend'
client = ZenSend::Client.new("demo_psfeZaipx8P12gBJotkzQ4XNB/xPJ6rP1HbvfS2qftI=")
begin
result = client.send_sms(
originator: "Zensend",
# Add your number here to send a message to yourself
# The number should be in international format.
View gist:667ac4eb6c9ebfcb02c158b9092a91f5
require 'zensend'
client = ZenSend::Client.new("demo_psfeZaipx8P12gBJotkzQ4XNB/xPJ6rP1HbvfS2qftI=")
begin
result = client.send_sms(
originator: "Zensend",
# Add your number here to send a message to yourself
# The number should be in international format.
You can’t perform that action at this time.