Sha256: 1c71d2b80957252ea644d83647c61b87788dce45fb7aaa4b45aca7f770d9dc8d

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

require "active_support"
require "lib/smstrade"

Smstrade.key = "YOUR_KEY"
Smstrade.route = "economy"

# lets go
Smstrade.new do |sms|
  @result, @response = sms.send(:number => "", :text => "This is a test SMS.", :debug => 1)
end

p("Result '#{@result}' with response '#{@response}'")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smstrade_de-0.0.1 test.rb