class RubyPsigate::Credential
Attributes
cid[R]
endpoint[R]
mode[R]
password[R]
userid[R]
Public Class Methods
new(options)
click to toggle source
# File lib/ruby_psigate/credential.rb, line 6 def initialize(options) @cid = options[:CID] @userid = options[:UserID] @password = options[:password] @mode = options[:mode] || :test if @mode == :test @endpoint = "https://dev.psigate.com:8645/Messenger/AMMessenger" else @endpoint = "https://dev.psigate.com:8645/Messenger/AMMessenger" end end