lib/patentscope/configuration.rb in patentscope-0.0.1 vs lib/patentscope/configuration.rb in patentscope-0.0.2

- old
+ new

@@ -18,13 +18,11 @@ return true end end def configured? - configuration && - configuration.username && - configuration.password + (configuration && configuration.username && configuration.password)? true : false end def reset_configuration self.configuration = nil end @@ -36,7 +34,6 @@ def initialize @username = '' @password = '' end end - end