Skip to content

Instantly share code, notes, and snippets.

@nofxx
Created August 16, 2008 02:50
Show Gist options
  • Save nofxx/5694 to your computer and use it in GitHub Desktop.
Save nofxx/5694 to your computer and use it in GitHub Desktop.
require 'activesms'
class Noter < ActiveSms::Base
def emaio
@delivery = :email
@carrier = 'tim'
@recipients = '55555555'
@from = ''
@body = "Hello"
#@id = ''
#@schedule = "dd/mm/aaaa hh:mm:ss"
@options = {}
end
def gatuei
@delivery = :gateway
@recipients = '55555555'
@from = ''
@body = "ALOU ALOU"
#@id = ''
#@schedule = "dd/mm/aaaa hh:mm:ss"
@options = {}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment