From 867141e64fa2472afedfa60a05de313f3283f343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Fern=C3=A1ndez?= Date: Sun, 12 May 2024 11:44:14 +0000 Subject: [PATCH] remove dead code --- lib/uof/api/mappings/outcome_mapping.ex | 10 ---------- lib/uof/api/mappings/outcome_mappings.ex | 15 --------------- 2 files changed, 25 deletions(-) delete mode 100644 lib/uof/api/mappings/outcome_mapping.ex delete mode 100644 lib/uof/api/mappings/outcome_mappings.ex diff --git a/lib/uof/api/mappings/outcome_mapping.ex b/lib/uof/api/mappings/outcome_mapping.ex deleted file mode 100644 index 34fcaa0..0000000 --- a/lib/uof/api/mappings/outcome_mapping.ex +++ /dev/null @@ -1,10 +0,0 @@ -defmodule UOF.API.Mappings.OutcomeMapping do - @moduledoc false - use Saxaboom.Mapper - - document do - attribute(:outcome_id) - attribute(:product_outcome_id) - attribute(:product_outcome_name) - end -end diff --git a/lib/uof/api/mappings/outcome_mappings.ex b/lib/uof/api/mappings/outcome_mappings.ex deleted file mode 100644 index 6ab8777..0000000 --- a/lib/uof/api/mappings/outcome_mappings.ex +++ /dev/null @@ -1,15 +0,0 @@ -defmodule UOF.API.Mappings.OutcomeMappings do - @moduledoc false - use Saxaboom.Mapper - - alias UOF.API.Mappings.OutcomeMapping - - document do - attribute(:product_id, cast: :integer) - attribute(:product_ids) - attribute(:sport_id) - attribute(:market_id, cast: :integer) - attribute(:product_market_id) - elements(:mapping_outcome, as: :outcome_mappings, into: %OutcomeMapping{}) - end -end