Sha256: 79527f06ae7db42c585dcec7d63973d1a741597f3d5ed912ebc5db0f45a8caf9
Contents?: true
Size: 644 Bytes
Versions: 7
Compression:
Stored size: 644 Bytes
Contents
module PortaText module Command module Api # An SMS campaign. # https://github.com/PortaText/docs/wiki/REST-API#api_campaigns # # Author:: Marcelo Gornstein (mailto:marcelog@portatext.com) # Copyright:: Copyright (c) 2015 PortaText # License:: Apache-2.0 class SmsCampaign < Campaigns def use_template(template_id, variables) set :template_id, template_id set :variables, variables end def text(text) set :text, text end def initialize super set :type, 'sms' end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems