Sha256: 5cd5902447ec4dad522d6551db5ec4a1242426f03f89c51d83a68dd8fabe48e0

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 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 'byebug'
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

2 entries across 2 versions & 1 rubygems

Version Path
cequens-0.0.2 lib/cequens.rb
cequens-0.0.1 lib/cequens.rb