Sha256: 7097cdd01d2aa5b7a876cc6424672900a33c893ef98f2ae9fde305f286bef87b
Contents?: true
Size: 501 Bytes
Versions: 4
Compression:
Stored size: 501 Bytes
Contents
# frozen_string_literal: true module Whats module Actions class CheckContacts PATH = "/api/check_contacts.php" def initialize(client, numbers) @client = client @numbers = numbers end def call client.request PATH, payload end private attr_reader :client, :numbers def payload { payload: { blocking: "wait", users: numbers } } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems