libraries/provider_ltm_virtual_server.rb
#
# Return F5 state value given new_resource enabled attribute
#
# @return [String]
#   F5 string value for enabling/disabling a virtual server based on new_resource enabled parameter
#
Return F5 state value given new_resource enabled attribute
Return F5 state value given new_resource enabled attribute
def enabled_state
        if new_resource.enabled
          'STATE_ENABLED'
        else
          'STATE_DISABLED'
        end
      end
def enabled_state if new_resource . enabled 'STATE_ENABLED' else 'STATE_DISABLED' end end
Return F5 state value given new_resource enabled attribute
Return F5 state value given new_resource enabled attribute
F5 string value for enabling/disabling a virtual server based on new_resource enabled parameter
F5 string value for enabling / disabling a virtual server based on new_resource enabled parameter
String