Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
fix: fix Rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Mar 8, 2020
1 parent dfcd382 commit a969544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/misp/galaxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def to_h
def list
_get("/galaxies/") do |galaxies|
galaxies.map do |galaxy|
Galaxy.new **galaxy
Galaxy.new(**galaxy)
end
end
end
Expand All @@ -67,7 +67,7 @@ def list
# @return [MISP::Galaxy]
#
def get
_get("/galaxies/view/#{id}") { |galaxy| Galaxy.new **galaxy }
_get("/galaxies/view/#{id}") { |galaxy| Galaxy.new(**galaxy) }
end

class << self
Expand Down

0 comments on commit a969544

Please sign in to comment.