class Gupshup::REST::WhatsApp

Attributes

apikey[R]
app[R]
base_uri[R]
content_type[R]
path[R]
phone[R]

Public Class Methods

new(app, apikey, version = '1', phone="917384811114") click to toggle source
# File lib/gupshup_whatsapp/rest/whatsapp/whatsapp.rb, line 7
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