Class: Splunk::Message
- Inherits:
-
Entity
- Object
- ReadOnlyEntity
- Entity
- Splunk::Message
- Defined in:
- lib/splunk-sdk-ruby/entity/message.rb
Overview
Class to represent system wide messages.
Message
differs from Entity
only in having a method value
to fetch the detail of the message.
Instance Attribute Summary
Attributes inherited from ReadOnlyEntity
#name, #namespace, #resource, #service
Instance Method Summary collapse
-
#value ⇒ Object
Returns the message’s details.
Methods inherited from Entity
#[]=, #delete, #disable, #enable, #update
Methods inherited from ReadOnlyEntity
#[], #fetch, #initialize, #links, #read, #readmeta, #refresh
Constructor Details
This class inherits a constructor from Splunk::ReadOnlyEntity
Instance Method Details
#value ⇒ Object
Returns the message’s details.
Returns: a String
.
32 33 34 |
# File 'lib/splunk-sdk-ruby/entity/message.rb', line 32 def value fetch(@name) end |