Sha256: 7808a58b68ba34dc7de223ad06e7c8f33e11e2c73b863ad3c1d73d5d898da437
Contents?: true
Size: 454 Bytes
Versions: 12
Compression:
Stored size: 454 Bytes
Contents
module Gupshup module REST class WhatsApp attr_reader :content_type, :apikey, :base_uri, :app, :phone, :path def initialize(app, apikey, version = '1', phone="917384811114") @app = app @apikey = apikey @version = version @content_type = 'application/x-www-form-urlencoded' @base_uri = 'https://api.gupshup.io' @path = '/sm/api/v1/msg' @phone = phone end end end end
Version data entries
12 entries across 12 versions & 1 rubygems