Class: ViewCampaignDelivery
- Inherits:
-
ApplicationViewRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ApplicationViewRecord
- ViewCampaignDelivery
- Includes:
- Models::SearchableView
- Defined in:
- app/models/view_campaign_delivery.rb
Overview
== Schema Information
Table name: view_campaign_deliveries
Database name: primary
id :integer primary key
combined_state :text
communication_recipient_state :string(25)
email :string(255)
state :string
created_at :datetime
campaign_email_id :integer
communication_id :integer
communication_recipient_id :integer
subscriber_id :integer
Belongs to collapse
- #campaign_email ⇒ CampaignEmail
- #communication ⇒ Communication
- #communication_recipient ⇒ CommunicationRecipient
- #subscriber ⇒ Subscriber
Instance Method Summary collapse
Methods included from Models::SearchableView
#crm_link, #crm_link_subtitle, #has_columns?, #main_resource
Methods inherited from ApplicationViewRecord
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::EventPublishable
Instance Method Details
#campaign_email ⇒ CampaignEmail
22 |
# File 'app/models/view_campaign_delivery.rb', line 22 belongs_to :campaign_email |
#communication ⇒ Communication
24 |
# File 'app/models/view_campaign_delivery.rb', line 24 belongs_to :communication |
#communication_recipient ⇒ CommunicationRecipient
23 |
# File 'app/models/view_campaign_delivery.rb', line 23 belongs_to :communication_recipient |
#readonly? ⇒ Boolean
26 27 28 |
# File 'app/models/view_campaign_delivery.rb', line 26 def readonly? true end |
#subscriber ⇒ Subscriber
21 |
# File 'app/models/view_campaign_delivery.rb', line 21 belongs_to :subscriber |