Sha256: 395285d0e3b7913d8972ef3a18d40e9a03e5f4ddf9e6147709b10d15f537a1ce

Contents?: true

Size: 1.02 KB

Versions: 12

Compression:

Stored size: 1.02 KB

Contents

require 'net/http'
require 'net/https'
require 'cgi'
require 'openssl'
require 'base64'
require 'forwardable'
require 'time'
require 'json'
require 'logger'
Dir["#{File.dirname(__FILE__)}/gupshup_whatsapp/http/**/*.rb"].sort.each do |file|
  require file
end
Dir["#{File.dirname(__FILE__)}/gupshup_whatsapp/framework/**/*.rb"].sort.each do |file|
  require file
end
Dir["#{File.dirname(__FILE__)}/gupshup_whatsapp/rest/*.rb"].sort.each do |file|
  require file
end
Dir["#{File.dirname(__FILE__)}/gupshup_whatsapp/rest/**/*.rb"].sort.each do |file|
  require file
end
Dir["#{File.dirname(__FILE__)}/gupshup_whatsapp/rest/**/**/*.rb"].sort.each do |file|
  require file
end
Dir["#{File.dirname(__FILE__)}/gupshup_whatsapp/compatibility/**/*.rb"].sort.each do |file|
  require file
end

module Gupshup
  class Error < StandardError; end
  class WhatsApp
    attr_accessor :app, :apikey
    def initialize(app, apikey, version = '2', phone)
      @app = app
      @apikey = apikey
      @version = version
      @phone = phone
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gupshup_whatsapp-1.0.7 lib/gupshup_whatsapp.rb
gupshup_whatsapp-1.0.6 lib/gupshup_whatsapp.rb
gupshup_whatsapp-1.0.5 lib/gupshup_whatsapp.rb
gupshup_whatsapp-1.0.4 lib/gupshup_whatsapp.rb
gupshup_whatsapp-1.0.3 lib/gupshup_whatsapp.rb
gupshup_whatsapp-1.0.2 lib/gupshup_whatsapp.rb
gupshup_whatsapp-1.0.1 lib/gupshup_whatsapp.rb
gupshup_whatsapp-1.0.0 lib/gupshup_whatsapp.rb
gupshup_whatsapp-0.2.5 lib/gupshup_whatsapp.rb
gupshup_whatsapp-0.2.3 lib/gupshup_whatsapp.rb
gupshup_whatsapp-0.2.1 lib/gupshup_whatsapp.rb
gupshup_whatsapp-0.2.0 lib/gupshup_whatsapp.rb