Sha256: 5e385fd3ebfc58203873ee7ff429fd981d11a7b06ce2aae7dc3adb1a032b5be3
Contents?: true
Size: 650 Bytes
Versions: 10
Compression:
Stored size: 650 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 :settings, template_id: template_id, variables: variables end def text(text) set :settings, text: text end def initialize super set :type, 'sms' end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems