class Commands::Groups::Group::Get

Public Instance Methods

execute() click to toggle source
# File lib/restpack_group_service/commands/group/get.rb, line 12
def execute
  result = Serializers::Groups::Group.resource(inputs)

  if result[:groups].empty?
    status :not_found
  else
    result
  end
end