class EmaySms::Configuration

Public Instance Methods

account() click to toggle source
# File lib/emay_sms/configuration.rb, line 11
def account
  @account ||= "account"
end
account=(account) click to toggle source
# File lib/emay_sms/configuration.rb, line 15
def account=(account)
  @account = account
end
password() click to toggle source
# File lib/emay_sms/configuration.rb, line 19
def password
  @password ||= "password"
end
password=(password) click to toggle source
# File lib/emay_sms/configuration.rb, line 23
def password=(password)
  @password = password
end
secret() click to toggle source
# File lib/emay_sms/configuration.rb, line 27
def secret
  @secret ||= SecureRandom.hex(10)
end
secret=(secret) click to toggle source
# File lib/emay_sms/configuration.rb, line 31
def secret=(secret)
  @secret = secret
end
server() click to toggle source
# File lib/emay_sms/configuration.rb, line 3
def server
  @server ||= "http://sdk4report.eucp.b2m.cn:8080/sdk/SDKService?wsdl"
end
server=(server) click to toggle source
# File lib/emay_sms/configuration.rb, line 7
def server=(server)
  @server = server
end
sign() click to toggle source
# File lib/emay_sms/configuration.rb, line 35
def sign
  @sign
end
sign=(sign) click to toggle source
# File lib/emay_sms/configuration.rb, line 39
def sign=(sign)
  @sign = "【#{sign}】"
end