Method: Mints::Contact#get_appointment

Defined in:
lib/contact.rb

#get_appointment(id, options = nil) ⇒ Object

Get Appointment.

Get an appointment info.

Parameters

options

(Hash) – List of Resource Collection Options shown above can be used as parameter.

First Example

@data = @mints_contact.get_appointment(1)

Second Example

options = {
  "fields": "id, created_at"
}
@data = @mints_contact.get_appointment(1, options)


386
387
388
# File 'lib/contact.rb', line 386

def get_appointment(id, options = nil)
  return @client.raw("get", "/contacts/appointments/#{id}", options)
end