Method: Mints::Contact#attach_follower

Defined in:
lib/contact.rb

#attach_follower(data) ⇒ Object

Attach Follower.

Attach follower to an appointment.

Parameters

data

(Hash) – Data to be submited.

Example

data = {
  "appointment_id": 1,
  "follower_ids": 1
}
@data = @mints_contact.attach_follower(data)


476
477
478
# File 'lib/contact.rb', line 476

def attach_follower(data)
  return @client.raw("post", "/contacts/appointments/attach-follower", nil, data_transform(data))
end