Sha256: 023d8058042190a5f0840bd4edbe2a3ce1c929529ccb9d0a4e5838d9e2268905
Contents?: true
Size: 325 Bytes
Versions: 3
Compression:
Stored size: 325 Bytes
Contents
module SmstoolsApi class VoiceMessages attr_reader :client def initialize(client) @client = client end def create(message:, to:, sender:, date: nil, reference: nil, language: nil, gender: nil, test: false) @client.post('voice/send', to: to, message: message, sender: sender) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
smstools_api-0.1.7 | lib/smstools_api/voice_messages.rb |
smstools_api-0.1.4 | lib/smstools_api/voice_messages.rb |
smstools_api-0.1.3 | lib/smstools_api/voice_messages.rb |