Sha256: 60b1305a2b9aeaf0e98875f1748c4d383b12a21b0d53a86ba51c65e21cca922f

Contents?: true

Size: 536 Bytes

Versions: 6

Compression:

Stored size: 536 Bytes

Contents

require_relative 'smsapi/client/version'
require 'smsapi/server'
require 'smsapi/server/connection'
require 'smsapi/client'
require 'smsapi/defaults'
require 'smsapi/credits'
require 'smsapi/sms'
require 'smsapi/bulk_sms'
require 'smsapi/group_sms'

module Smsapi
  class Error < StandardError; end
  class ServerError < Error; end

  API = {
    uri: 'ssl.smsapi.pl',
    port: 443,
    user_path: '/user.do',
    sms_path: '/sms.do'
  }

  ERROR_MESSAGES = {
    '101' => 'Bad Credentials',
    '1001' => 'Bad Request Format'
  }
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
smsapipl-client-1.0.4 lib/smsapi.rb
smsapipl-client-1.0.3 lib/smsapi.rb
smsapipl-client-1.0.2 lib/smsapi.rb
smsapi-client-1.0.2 lib/smsapi.rb
smsapi-client-1.0.1 lib/smsapi.rb
smsapi-client-1.0.0 lib/smsapi.rb