summaryrefslogtreecommitdiff
path: root/lib/chef/user_v1.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/user_v1.rb')
-rw-r--r--lib/chef/user_v1.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/chef/user_v1.rb b/lib/chef/user_v1.rb
index a31f55279c..015beb371b 100644
--- a/lib/chef/user_v1.rb
+++ b/lib/chef/user_v1.rb
@@ -64,52 +64,52 @@ class Chef
def username(arg = nil)
set_or_return(:username, arg,
- regex: /^[a-z0-9\-_]+$/)
+ regex: /^[a-z0-9\-_]+$/)
end
def display_name(arg = nil)
set_or_return(:display_name,
- arg, kind_of: String)
+ arg, kind_of: String)
end
def first_name(arg = nil)
set_or_return(:first_name,
- arg, kind_of: String)
+ arg, kind_of: String)
end
def middle_name(arg = nil)
set_or_return(:middle_name,
- arg, kind_of: String)
+ arg, kind_of: String)
end
def last_name(arg = nil)
set_or_return(:last_name,
- arg, kind_of: String)
+ arg, kind_of: String)
end
def email(arg = nil)
set_or_return(:email,
- arg, kind_of: String)
+ arg, kind_of: String)
end
def create_key(arg = nil)
set_or_return(:create_key, arg,
- kind_of: [TrueClass, FalseClass])
+ kind_of: [TrueClass, FalseClass])
end
def public_key(arg = nil)
set_or_return(:public_key,
- arg, kind_of: String)
+ arg, kind_of: String)
end
def private_key(arg = nil)
set_or_return(:private_key,
- arg, kind_of: String)
+ arg, kind_of: String)
end
def password(arg = nil)
set_or_return(:password,
- arg, kind_of: String)
+ arg, kind_of: String)
end
def to_h