Sha256: 4c490be05694d724c21884a1449d07a91f57786ca3b8dce60f20ab43ddf7c98d

Contents?: true

Size: 487 Bytes

Versions: 4

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

require 'cequens/version'
require 'cequens/connection'
require 'cequens/errors'
require 'cequens/request'
require 'cequens/response'
require 'cequens/requests/send_sms_request'
require 'cequens/contracts/send_sms_contract'
require 'rails'

module Cequens
  class << self
    attr_accessor :access_token

    def config
      yield self
    end

    def send_sms(params, opts = {})
      Request.new('send_sms', params, opts).fire_request
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cequens-0.0.6 lib/cequens.rb
cequens-0.0.5 lib/cequens.rb
cequens-0.0.4 lib/cequens.rb
cequens-0.0.3 lib/cequens.rb