Class: V1::SubjectInteractionSerializer

Inherits:
ActiveModel::Serializer
  • Object
show all
Defined in:
api/app/serializers/v1/subject_interaction_serializer.rb

Overview

A subject interaction standard serializer

 {
   "response": {
      callback_end_at: null,
      callback_start_at: null,
      created_at: "2020-08-27T04:41:08.350Z",
      id: 58,
      interaction_type: "recruiter",
      no_show: null,
      notes: null,
      outcome: "no_outcome",
      progress: {screen: "invalid", schedule: "invalid",…},
      recruiting_blast_id: null
      recruiting_campaign_id: 13
      user: {id: 1, email: "admin@redjade.net", first_name: "Daniel", last_name: "Harvey",…},
      subject: {code: "138", company_id: 1, email: "new@guy2.com", name: "new guy", phone: null, id: 138,…},
      subject_id: 138,
      termination_scenario: null,
      updated_at: "2020-08-27T04:41:08.350Z",
      portal_url: "https://my.redjade.net/secure/interact/12345sdaf",
      recruiting_url: "https://app.redjade.net/recruiting/qualify/%7Bcampaign_id%7D/interaction/%7Bsubject_interaction_id%7D/screener",
      redirect_url: "<redirect_url passed in on create>?outcome=scheduled"
   }
 }

Instance Method Summary collapse

Instance Method Details

#no_showObject

#portal_urlObject

#recruiting_urlObject

#redirect_urlObject

#termination_scenarioObject