class TelephoneAppointments::DroppedSummaryDocumentActivity

Public Class Methods

new(appointment_id) click to toggle source
# File lib/telephone_appointments/dropped_summary_document_activity.rb, line 3
def initialize(appointment_id)
  @appointment_id = appointment_id
end

Public Instance Methods

save() click to toggle source
# File lib/telephone_appointments/dropped_summary_document_activity.rb, line 7
def save
  response = TelephoneAppointments.api.post(
    "/api/v1/appointments/#{@appointment_id}/dropped_summary_documents"
  )

  response.success?
end