mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-30 00:00:47 -05:00
Suppress MethodLength on api_requestor (#1626)
This commit is contained in:
parent
749a12b5a8
commit
f6fd754a76
@ -54,13 +54,13 @@ Metrics/PerceivedComplexity:
|
|||||||
- "lib/stripe/util.rb"
|
- "lib/stripe/util.rb"
|
||||||
|
|
||||||
Metrics/MethodLength:
|
Metrics/MethodLength:
|
||||||
# There's ~2 long methods in `APIRequestor` and one in `NestedResource`. If
|
# There's one long method in `NestedResource`. If we want to truncate it a little,
|
||||||
# we want to truncate those a little, we could move this to be closer to ~30
|
# we could move this to be closer to ~30 (but the default of 10 is probably too short).
|
||||||
# (but the default of 10 is probably too short).
|
|
||||||
Max: 55
|
Max: 55
|
||||||
Exclude:
|
Exclude:
|
||||||
- "lib/stripe/services/v1_services.rb"
|
- "lib/stripe/services/v1_services.rb"
|
||||||
- "lib/stripe/event_types.rb"
|
- "lib/stripe/event_types.rb"
|
||||||
|
- "lib/stripe/api_requestor.rb"
|
||||||
AllowedMethods:
|
AllowedMethods:
|
||||||
- initialize
|
- initialize
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user