class Whats::Actions::CheckContacts
Constants
- PATH
Attributes
client[R]
contacts[R]
Public Class Methods
new(client, contacts)
click to toggle source
# File lib/whats/actions/check_contacts.rb, line 8 def initialize(client, contacts) @client = client @contacts = contacts end
Public Instance Methods
call()
click to toggle source
# File lib/whats/actions/check_contacts.rb, line 13 def call client.request PATH, payload end
Private Instance Methods
payload()
click to toggle source
# File lib/whats/actions/check_contacts.rb, line 21 def payload { blocking: "wait", contacts: contacts } end