1 # frozen_string_literal: true
3 class GpxImportNotificationDetails
5 def initialize(notification)
6 @notification = notification
9 delegate :record, :to => :@notification
12 class Success < Details
13 delegate :description, :tagstring, :to => :record
24 @notification.params[:possible_points]
32 class Failure < Details
34 @notification.params[:trace_name]
38 @notification.params[:trace_description]
46 @notification.params[:trace_tags]