Sha256: 36c561c61da0b30c74d9819c51ca9b4cadcd899c52b1cbb456aad44cb4ed242b

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 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.instance
        @extra_options = args.shift
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smshelper-0.2.0 lib/smshelper/api/base.rb
smshelper-0.1.3 lib/smshelper/api/base.rb