Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Unreleased Changes
------------------
* Issue - Fix the initializer for `NumericSetMarshaler`. (#163)

2.15.2 (2026-08-17)
------------------
Expand Down
8 changes: 4 additions & 4 deletions lib/aws-record/record/marshalers/numeric_set_marshaler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
module Aws
module Record
module Marshalers
def initialize(opts = {})
# pass
end

class NumericSetMarshaler
def initialize(opts = {})
# pass
end

def type_cast(raw_value)
case raw_value
when nil, ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ module Marshalers
end
end
end

context 'custom settings' do
it 'builds a marshaler' do
NumericSetMarshaler.new({})
end
end
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ module Marshalers
end
end
end

context 'custom settings' do
it 'builds a marshaler' do
StringSetMarshaler.new({})
end
end
end
end
end
Expand Down
Loading