Sha256: df5ee4e693a33d19fb4907978b84ef1dfae5c39d93596372ef4656b6d5938951

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

# -*- coding: utf-8 -*-
module Smshelper
  module Api
    class Base
      include APISmith::Client
      include Log4r

      attr_reader :sent_message_ids, :sent_message_statuses
      attr_accessor :extra_options
      def initialize(*args)
        @log = Logger.new "#{self.class.name}"
        @log.outputters = Outputter.stdout
        @log.level = DEBUG #ERROR

        @sent_message_ids, @sent_message_statuses = Array.new, Hash.new
        @response_code = ResponseCodes.new
        @extra_options = args.shift
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smshelper-0.2.1 lib/smshelper/api/base.rb