class Maxwell::Agent::Host::Service
Attributes
attributes[R]
Public Class Methods
new(attrs={})
click to toggle source
# File lib/maxwell/agent/host/service.rb, line 33 def initialize(attrs={}) @attributes = Attributes.new(attrs) set_default_attrs! end
Public Instance Methods
serialize()
click to toggle source
# File lib/maxwell/agent/host/service.rb, line 38 def serialize Serializer.serialize(attributes.dup) end
to_json()
click to toggle source
# File lib/maxwell/agent/host/service.rb, line 42 def to_json serialize end