Class: Phone::CallLogPartyMatcher::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/phone/call_log_party_matcher.rb

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(employee_from_matched: nil, employee_to_matched: nil, customer_from_matched: nil, customer_to_matched: nil) ⇒ Result

Returns a new instance of Result.



6
# File 'app/services/phone/call_log_party_matcher.rb', line 6

def initialize(employee_from_matched: nil, employee_to_matched: nil, customer_from_matched: nil, customer_to_matched: nil) = super

Instance Attribute Details

#customer_from_matchedObject (readonly)

Returns the value of attribute customer_from_matched

Returns:

  • (Object)

    the current value of customer_from_matched



5
6
7
# File 'app/services/phone/call_log_party_matcher.rb', line 5

def customer_from_matched
  @customer_from_matched
end

#customer_to_matchedObject (readonly)

Returns the value of attribute customer_to_matched

Returns:

  • (Object)

    the current value of customer_to_matched



5
6
7
# File 'app/services/phone/call_log_party_matcher.rb', line 5

def customer_to_matched
  @customer_to_matched
end

#employee_from_matchedObject (readonly)

Returns the value of attribute employee_from_matched

Returns:

  • (Object)

    the current value of employee_from_matched



5
6
7
# File 'app/services/phone/call_log_party_matcher.rb', line 5

def employee_from_matched
  @employee_from_matched
end

#employee_to_matchedObject (readonly)

Returns the value of attribute employee_to_matched

Returns:

  • (Object)

    the current value of employee_to_matched



5
6
7
# File 'app/services/phone/call_log_party_matcher.rb', line 5

def employee_to_matched
  @employee_to_matched
end