Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit bbefd17

Browse files
committed
[#29] Replace raise RuntimeError with Value for BinaryType
- #29
1 parent 4ee17fd commit bbefd17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/odata/types/primitive_types/binary_type.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def valid_value?(value)
55
end
66

77
def coerce(value)
8-
raise RuntimeError
8+
value
99
end
1010

1111
def name

0 commit comments

Comments
 (0)