Sha256: bb293931774600cbec5b146506e59bbad42e7b87243a4d27fb2f0136cf965e5a
Contents?: true
Size: 607 Bytes
Versions: 1
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true require 'sms77/resource' # This module exposes the methods for communicating with the API endpoint /validate_for_voice. module Sms77::Resources class ValidateForVoice < Sms77::Resource @endpoint = Sms77::Endpoint::VALIDATE_FOR_VOICE @http_methods = { :retrieve => :post, } # Validate a phone number for using it as caller ID via our voice API # read more: https://www.sms77.io/en/docs/gateway/http-api/caller-ids/ # @param params [Hash] # @return [Hash] def retrieve(params) request(params) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sms77-0.5.0 | lib/sms77/resources/validate_for_voice.rb |