Class: Activity::ResourceList::OpportunityFormatter

Inherits:
BaseFormatter
  • Object
show all
Defined in:
app/services/activity/resource_list.rb

Overview

Service object: opportunity formatter.

Instance Attribute Summary

Attributes inherited from BaseFormatter

#record

Instance Method Summary collapse

Methods inherited from BaseFormatter

#created_at, #identifier, #initialize, #state

Constructor Details

This class inherits a constructor from Activity::ResourceList::BaseFormatter

Instance Method Details

#displayObject



224
225
226
# File 'app/services/activity/resource_list.rb', line 224

def display
  [reference_number, state, name, created_at].compact.join(' - ')
end