Class: Log
- Inherits:
-
Object
- Object
- Log
- Defined in:
- lib/rscalr/model/log.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#server_id ⇒ Object
Returns the value of attribute server_id.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
2 3 4 |
# File 'lib/rscalr/model/log.rb', line 2 def @message end |
#server_id ⇒ Object
Returns the value of attribute server_id.
2 3 4 |
# File 'lib/rscalr/model/log.rb', line 2 def server_id @server_id end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
2 3 4 |
# File 'lib/rscalr/model/log.rb', line 2 def @timestamp end |
Instance Method Details
#to_s ⇒ Object
4 5 6 |
# File 'lib/rscalr/model/log.rb', line 4 def to_s "{ type: \"log\", server_id: \"#{@server_id}\", message: \"#{@message}\", timestamp: #{@timestamp} }" end |