Added document transfer endpoint with support for url sources and one… #4
RuboCop Results
14 offense(s) found.
Annotations
Check notice on line 20 in lib/config/dsl.rb
github-actions / RuboCop Results
lib/config/dsl.rb#L15-L20
When using `method_missing`, define `respond_to_missing?`. [Style/MissingRespondToMissing]
Check notice on line 15 in lib/config/dsl.rb
github-actions / RuboCop Results
lib/config/dsl.rb#L15
Use anonymous block forwarding. [Naming/BlockForwarding]
Check notice on line 33 in lib/config/dsl.rb
github-actions / RuboCop Results
lib/config/dsl.rb#L33
Replace class var :@@options with a class instance var. [Style/ClassVars]
Check notice on line 37 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L20-L37
Assignment Branch Condition size for get_items_recursive is too high. [<3, 17, 4> 17.72/17] [Metrics/AbcSize]
Check notice on line 37 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L20-L37
Method has too many lines. [14/10] [Metrics/MethodLength]
Check notice on line 53 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L53
Use `ENV.fetch('ONEDRIVE_TENANT_ID')` or `ENV.fetch('ONEDRIVE_TENANT_ID', nil)` instead of `ENV['ONEDRIVE_TENANT_ID']`. [Style/FetchEnvVar]
Check notice on line 54 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L54
Use `ENV.fetch('ONEDRIVE_CLIENT_ID')` or `ENV.fetch('ONEDRIVE_CLIENT_ID', nil)` instead of `ENV['ONEDRIVE_CLIENT_ID']`. [Style/FetchEnvVar]
Check notice on line 55 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L55
Use `ENV.fetch('ONEDRIVE_CLIENT_SECRET')` or `ENV.fetch('ONEDRIVE_CLIENT_SECRET', nil)` instead of `ENV['ONEDRIVE_CLIENT_SECRET']`. [Style/FetchEnvVar]
Check notice on line 62 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L62
Use `ENV.fetch('ONEDRIVE_DRIVE_ID')` or `ENV.fetch('ONEDRIVE_DRIVE_ID', nil)` instead of `ENV['ONEDRIVE_DRIVE_ID']`. [Style/FetchEnvVar]
Check notice on line 69 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L69
Use `ENV.fetch('ONEDRIVE_TENANT_ID')` or `ENV.fetch('ONEDRIVE_TENANT_ID', nil)` instead of `ENV['ONEDRIVE_TENANT_ID']`. [Style/FetchEnvVar]
Check notice on line 69 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L69
Use `ENV.fetch('ONEDRIVE_CLIENT_ID')` or `ENV.fetch('ONEDRIVE_CLIENT_ID', nil)` instead of `ENV['ONEDRIVE_CLIENT_ID']`. [Style/FetchEnvVar]
Check notice on line 69 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L69
Use `ENV.fetch('ONEDRIVE_CLIENT_SECRET')` or `ENV.fetch('ONEDRIVE_CLIENT_SECRET', nil)` instead of `ENV['ONEDRIVE_CLIENT_SECRET']`. [Style/FetchEnvVar]
Check notice on line 69 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L69
Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument. [Layout/MultilineMethodCallBraceLayout]
Check notice on line 72 in lib/service/one_drive.rb
github-actions / RuboCop Results
lib/service/one_drive.rb#L72
Prefer single-quoted strings when you don't need string interpolation or special symbols. [Style/StringLiterals]