Skip to content

Commit 04d7fef

Browse files
committed
removed String.Chars
1 parent df7fed1 commit 04d7fef

19 files changed

Lines changed: 0 additions & 114 deletions

File tree

lib/access/resources/characteristic_values/cable_value.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,4 @@ defmodule DiffoExample.Access.CableValue do
3030

3131
field :technology, :atom, description: "the cable technology"
3232
end
33-
34-
defimpl String.Chars do
35-
def to_string(struct) do
36-
inspect(struct)
37-
end
38-
end
3933
end

lib/access/resources/characteristic_values/card_value.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,4 @@ defmodule DiffoExample.Access.CardValue do
2828

2929
field :technology, :atom, description: "the card technology"
3030
end
31-
32-
defimpl String.Chars do
33-
def to_string(struct) do
34-
inspect(struct)
35-
end
36-
end
3731
end

lib/access/resources/characteristic_values/float_unit.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,4 @@ defmodule DiffoExample.Access.FloatUnit do
2424

2525
field :unit, :atom, description: "the unit"
2626
end
27-
28-
defimpl String.Chars do
29-
def to_string(struct) do
30-
inspect(struct)
31-
end
32-
end
3327
end

lib/access/resources/characteristic_values/integer_unit.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,4 @@ defmodule DiffoExample.Access.IntegerUnit do
2424

2525
field :unit, :atom, description: "the unit"
2626
end
27-
28-
defimpl String.Chars do
29-
def to_string(struct) do
30-
inspect(struct)
31-
end
32-
end
3327
end

lib/access/resources/characteristic_values/path_value.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,4 @@ defmodule DiffoExample.Access.PathValue do
3333

3434
field :technology, :atom, description: "the path technology"
3535
end
36-
37-
defimpl String.Chars do
38-
def to_string(struct) do
39-
inspect(struct)
40-
end
41-
end
4236
end

lib/access/resources/characteristic_values/shelf_value.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,4 @@ defmodule DiffoExample.Access.ShelfValue do
2828

2929
field :technology, :atom, description: "the shelf technology"
3030
end
31-
32-
defimpl String.Chars do
33-
def to_string(struct) do
34-
inspect(struct)
35-
end
36-
end
3731
end

lib/access/services/characteristic_values/aggregate_interface.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,4 @@ defmodule DiffoExample.Access.AggregateInterface do
5252
default: 0,
5353
description: "the aggregate interface vpi"
5454
end
55-
56-
defimpl String.Chars do
57-
def to_string(struct) do
58-
inspect(struct)
59-
end
60-
end
6155
end

lib/access/services/characteristic_values/bandwidth_profile.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,4 @@ defmodule DiffoExample.Access.BandwidthProfile do
3333
constraints: [one_of: [:kbps, :Mbps]],
3434
description: "the bandwidth profile units"
3535
end
36-
37-
defimpl String.Chars do
38-
def to_string(struct) do
39-
inspect(struct)
40-
end
41-
end
4236
end

lib/access/services/characteristic_values/circuit.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,4 @@ defmodule DiffoExample.Access.Circuit do
4444

4545
field :bandwidth_profile, BandwidthProfile, description: "the circuit bandwidth profile"
4646
end
47-
48-
defimpl String.Chars do
49-
def to_string(struct) do
50-
inspect(struct)
51-
end
52-
end
5347
end

lib/access/services/characteristic_values/constraints.ex

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,4 @@ defmodule DiffoExample.Access.Constraints do
2929
constraints: [instance_of: BandwidthProfile],
3030
description: "the circuit bandwidth profile"
3131
end
32-
33-
defimpl String.Chars do
34-
def to_string(struct) do
35-
inspect(struct)
36-
end
37-
end
3832
end

0 commit comments

Comments
 (0)