Class: OpportunityBriefing::QuoteRecordSnapshot

Inherits:
Object
  • Object
show all
Includes:
SnapshotFormatting, Service
Defined in:
app/services/opportunity_briefing/quote_record_snapshot.rb

Overview

Serializes one quote and its relationship to the focused/latest revisions.

Defined Under Namespace

Classes: Result

Instance Method Summary collapse

Methods included from Service

#attributes_used, #build_result, call, #logger

Methods included from Service::Initializer

#initialize

Instance Method Details

#callObject



18
19
20
# File 'app/services/opportunity_briefing/quote_record_snapshot.rb', line 18

def call
  Result.new(data: quote_data)
end