def send_sms(to: sms_to, body: sms_body)
      [to, body]
      generate_token
      options = { body: {
                    body: body,
                    to: to
                  }.to_json,
                  headers: { "Content-Type" => "application/json", "Authorization" => "Bearer #{@token}" }}
      response = HTTParty.post("https://api.telstra.com/v1/sms/messages", options)
      return JSON.parse(response.body)
    end
def send_sms(to: sms_to, body: sms_body)
      [to, body]
      generate_token
      options = { body: {
                    body: body,
                    to: to
                  }.to_json,
                  headers: { "Content-Type" => "application/json", "Authorization" => "Bearer #{@token}" }}
      response = HTTParty.post("https://api.telstra.com/v1/sms/messages", options)
      return JSON.parse(response.body)
    end
Receipient number should be in the format of 04xxxxxxxx where x is a digit.
 Authorization header value should be in the format of "Bearer xxx" where xxx
 is the access token returned from a token request.