Sha256: 2d9490ea14e90be03c8ca58f8bed541a595c58d56fddc2174f37cc3c8031bcba
Contents?: true
Size: 458 Bytes
Versions: 3
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true module Whats module Actions class CheckContacts PATH = "/v1/contacts" def initialize(client, contacts) @client = client @contacts = contacts end def call client.request PATH, payload end private attr_reader :client, :contacts def payload { blocking: "wait", contacts: contacts } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
whatsapp-1.0.0 | lib/whats/actions/check_contacts.rb |
whatsapp-0.1.5 | lib/whats/actions/check_contacts.rb |
whatsapp-0.1.4 | lib/whats/actions/check_contacts.rb |