lib/censys/api.rb in censu-0.1.4 vs lib/censys/api.rb in censu-0.1.5

- old
+ new

@@ -82,11 +82,11 @@ # # @see https://censys.io/account # Censys - My Account # def initialize(id = ENV['CENSYS_ID'], secret = ENV['CENSYS_SECRET']) - raise(ArgumentError, "'id' argument required") if id.nil? || id.empty? - raise(ArgumentError, "'secret' argument required") if secret.nil? || secret.empty? + raise(ArgumentError, "'id' argument is required") if id.nil? || id.empty? + raise(ArgumentError, "'secret' argument is required") if secret.nil? || secret.empty? @id, @secret = id, secret @ipv4 = Resource.new(:ipv4, self) @websites = Resource.new(:websites, self)