Class: SystemdServiceCheck::Base::Server

Inherits:
Struct
  • Object
show all
Defined in:
lib/systemd_service_check/base.rb

Instance Attribute Summary collapse

Instance Attribute Details

#envObject

Returns the value of attribute env

Returns:

  • (Object)

    the current value of env



13
14
15
# File 'lib/systemd_service_check/base.rb', line 13

def env
  @env
end

#hostnameObject

Returns the value of attribute hostname

Returns:

  • (Object)

    the current value of hostname



13
14
15
# File 'lib/systemd_service_check/base.rb', line 13

def hostname
  @hostname
end

#ipObject

Returns the value of attribute ip

Returns:

  • (Object)

    the current value of ip



13
14
15
# File 'lib/systemd_service_check/base.rb', line 13

def ip
  @ip
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



13
14
15
# File 'lib/systemd_service_check/base.rb', line 13

def options
  @options
end

#servicesObject

Returns the value of attribute services

Returns:

  • (Object)

    the current value of services



13
14
15
# File 'lib/systemd_service_check/base.rb', line 13

def services
  @services
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



13
14
15
# File 'lib/systemd_service_check/base.rb', line 13

def user
  @user
end