Class: HammerCLIForeman::User::ListCommand

Inherits:
ListCommand
  • Object
show all
Defined in:
lib/hammer_cli_foreman/user.rb

Constant Summary

Constants inherited from ListCommand

ListCommand::DEFAULT_PER_PAGE

Instance Method Summary collapse

Methods inherited from ListCommand

#adapter, command_name, #execute, #retrieve_data

Instance Method Details

#extend_data(user) ⇒ Object



15
16
17
18
# File 'lib/hammer_cli_foreman/user.rb', line 15

def extend_data(user)
  user["full_name"] = [user["firstname"], user["lastname"]].join(' ')
  user
end