Class: V1::SubjectSqlSerializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- V1::SubjectSqlSerializer
- Defined in:
- api/app/serializers/v1/subject_sql_serializer.rb
Overview
The version of our subject driven by and joined to ranking
{
"code": "1",
"company_id": 1,
"email": "benjie@redjade.net",
"id": 1,
"name": "Ben G",
"first_name": "Ben",
"last_name": "G",
"archived_at": null,
"matches": null,
"head_of_household": true,
"household_id": 26,
"date_of_birth": "1986-03-03",
"quota_qualified": null,
"full_exclusive_matches": null,
"exclusive_required_misses": null,
"bucket": null,
"is_minor": false,
"email_standing": "valid_email",
"latest_outcome": null,
"quota_rating": 1.3,
"interaction_rating": "4.5",
"engagement_rating": "4.516129032258064",
"overall_score": null,
"missing_quota_categories": null,
"current_subject_consent_response_id": 1,
"consented": true,
"can_call": true,
"can_email": true,
"contact_exclusion_until_date": null
}
Instance Method Summary collapse
- #bucket ⇒ Object
- #date_of_birth ⇒ Object
- #engagement_rating ⇒ Object
- #exclusive_required_misses ⇒ Object
- #full_exclusive_matches ⇒ Object
- #interaction_rating ⇒ Object
- #latest_outcome ⇒ Object
- #matches ⇒ Object
- #missing_quota_categories ⇒ Object
- #overall_score ⇒ Object
- #quota_qualified ⇒ Object
- #quota_rating ⇒ Object