Class: CloseEncounters::ParticipantService

Inherits:
ApplicationRecord show all
Defined in:
app/models/close_encounters/participant_service.rb

Instance Method Summary collapse

Instance Method Details

#connection_infoObject



14
15
16
17
18
19
20
# File 'app/models/close_encounters/participant_service.rb', line 14

def connection_info
  if super.is_a?(String)
    JSON.parse(super)
  else
    super
  end
end

#connection_info=(value) ⇒ Object



22
23
24
# File 'app/models/close_encounters/participant_service.rb', line 22

def connection_info=(value)
  super(value.to_json)
end