Skip to content

Commit

Permalink
Merge pull request #37 from ifad/chore/fix-word-array
Browse files Browse the repository at this point in the history
Standardize usage of word arrays
  • Loading branch information
tagliala authored Apr 21, 2024
2 parents 1ec9928 + f0e0605 commit e8d88c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .rubocop_todo.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/sharepoint/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ def parse_list_response(json_response, all_properties)
next unless result['FileSystemObjectType'].eql? 0

record = {}
(all_properties - ['File', 'URL']).each do |key|
(all_properties - %w[File URL]).each do |key|
record[key.underscore.to_sym] = result[key]
end
file = result['File']
Expand Down

0 comments on commit e8d88c0

Please sign in to comment.