Skip to content

Commit 9c97dc3

Browse files
committed
Fix lints
1 parent 8a1da0c commit 9c97dc3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/minfraud/components/base.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ def represent(key, value)
4242

4343
# Keys that have to remain boolean
4444
BOOLS = %w[was_authorized is_gift has_gift_message].freeze
45+
46+
private_constant :BOOLS
4547
end
4648
end
4749
end

lib/minfraud/http_service/response.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def make_body(endpoint, locales, response, body)
7171
insights: Minfraud::Model::Insights,
7272
score: Minfraud::Model::Score
7373
}.freeze
74+
75+
private_constant :ENDPOINT_TO_CLASS
7476
end
7577
end
7678
end

0 commit comments

Comments
 (0)