Example #1
0
 /**
  * Use this to query the cost of sending a SMS before actually sending it.
  *
  * @param string $to        Destination number
  * @param string $msg       SMS message
  *
  * @return SMSRate          Look at SMSRate class for available information
  * @throws HoiioException   Error querying rate for this SMS
  *
  */
 public function getSMSRate($to, $msg)
 {
     return SMSService::getRate($this->appID, $this->accessToken, $to, $msg);
 }