File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,13 @@ def self.call(options = {})
2323 end
2424
2525 def self . validate_auth_config
26- raise Uploadcare ::Exception ::AuthError , 'Public Key is blank.' if is_blank? ( Uploadcare . config . public_key )
27- raise Uploadcare ::Exception ::AuthError , 'Secret Key is blank.' if is_blank? ( Uploadcare . config . secret_key )
26+ raise Uploadcare ::Exception ::AuthError , 'Public Key is blank.' if is_ ( Uploadcare . config . public_key )
27+ raise Uploadcare ::Exception ::AuthError , 'Secret Key is blank.' if is_ ( Uploadcare . config . secret_key )
2828 end
2929
30- # rubocop:disable Naming/PredicateName
31- def self . is_blank? ( value )
30+ def self . is_ ( value )
3231 value . nil? || value . empty?
3332 end
34- # rubocop:enable Naming/PredicateName
3533 end
3634 end
3735end
You can’t perform that action at this time.
0 commit comments