(rubocop) Fix Layout/SpaceAroundEqualsInParameterDefault

This commit is contained in:
Tim Sharpe 2019-02-03 12:30:26 +11:00
parent 7cd0256a97
commit eb0d31260f
2 changed files with 5 additions and 5 deletions

View file

@ -1,25 +1,25 @@
# frozen_string_literal: true # frozen_string_literal: true
class AuthError < StandardError class AuthError < StandardError
def initialize(msg='Could not authenticate to pooler') def initialize(msg = 'Could not authenticate to pooler')
super super
end end
end end
class TokenError < StandardError class TokenError < StandardError
def initialize(msg='Could not do operation with token provided') def initialize(msg = 'Could not do operation with token provided')
super super
end end
end end
class MissingParamError < StandardError class MissingParamError < StandardError
def initialize(msg='Argument provided to function is missing') def initialize(msg = 'Argument provided to function is missing')
super super
end end
end end
class ModifyError < StandardError class ModifyError < StandardError
def initialize(msg='Could not modify VM') def initialize(msg = 'Could not modify VM')
super super
end end
end end

View file

@ -6,7 +6,7 @@ require 'json'
require 'vmfloaty/errors' require 'vmfloaty/errors'
class Pooler class Pooler
def self.list(verbose, url, os_filter=nil) def self.list(verbose, url, os_filter = nil)
conn = Http.get_conn(verbose, url) conn = Http.get_conn(verbose, url)
response = conn.get 'vm' response = conn.get 'vm'