Sha256: 1e78e0a45b891f610d408d62279028d5806ca073a42977e7101326a17abd9aa1

Contents?: true

Size: 415 Bytes

Versions: 5

Compression:

Stored size: 415 Bytes

Contents

require_relative '../../resource'


module CheckMobi
  module Resources
    module SMS
      class Send < Resource

        attributes :to, :text, :notification_callback, :platform

        private

        def defaults
          super.merge!({
              rel_path: '/sms/send',
              http_method: ALLOWED_METHODS[1],
              form_data: to_hash
          })
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
check_mobi-1.0.5 lib/check_mobi/resources/sms/send.rb
check_mobi-1.0.4 lib/check_mobi/resources/sms/send.rb
check_mobi-1.0.3 lib/check_mobi/resources/sms/send.rb
check_mobi-1.0.2 lib/check_mobi/resources/sms/send.rb
check_mobi-1.0.1 lib/check_mobi/resources/sms/send.rb