Skip to content

bayja/cafe24_sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cafe24 SMS 발송 Ruby wrapper

cafe24 sms 발송 서비스(유료) ruby wrapper. sms 발송하는 기능만 있음

Installation

gem install cafe24_sms

Usage

require 'cafe24_sms'

# sms 발송
Cafe24Sms.send_sms(:user_id => "user_id", :secure => "secure", :sphone1 => "011", :sphone2 => "9999", :sphone3 => "0000", :rphone => "011-9090-9090", :msg => "hello world!")


# 기본값 설정 가능
Cafe24Sms.configure do |config|
  config.user_id = "user_id"
  config.secure = "secure"
  config.sphone1 = "011"
  config.sphone2 = "9999"
  config.sphone3 = "0000"
end

Cafe24Sms.send_sms(:rphone => "011-9090-9090", :msg => "hello world!")


# 예약 발송(2011년 5월 1일, 17시 30분)
Cafe24Sms.send_sms(:rphone => "011-9090-9090", :msg => "hello world!", :rdate => "20110501", :rtime => "173000")

About

cafe24 SMS 발송 ruby wrapper

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages