Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ericproulx committed Dec 30, 2024
1 parent 5dd46f9 commit 315deba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
6 changes: 0 additions & 6 deletions lib/grape/validations/params_scope.rb
Original file line number Diff line number Diff line change
Expand Up @@ -448,12 +448,6 @@ def extract_value_option(option)
option[:value]
end

def extract_message_option(option)
return unless option.is_a?(Hash)

option[:message]
end

def add_validations_coercion_options(coercer_options, validations)
if coercer_options.is_a?(Hash)
options = coercer_options.extract!(:value, :message)
Expand Down
15 changes: 0 additions & 15 deletions lib/grape/validations/validator_factory.rb

This file was deleted.

0 comments on commit 315deba

Please sign in to comment.