lib/authorization.rb in vertebrae-0.1.6 vs lib/authorization.rb in vertebrae-0.2.0

- old
+ new

@@ -1,6 +1,13 @@ module Vertebrae module Authorization + def username? + username.present? + end + + def password? + password.present? + end # Check whether authentication credentials are present def authenticated? (username? && password?) end \ No newline at end of file