lib/arborist/node/service.rb in arborist-0.4.0 vs lib/arborist/node/service.rb in arborist-0.5.0

- old
+ new

@@ -65,9 +65,16 @@ ## # Get/set the network protocol the service uses dsl_accessor :protocol + ### Return the node family, so observers can know ancestry after + ### serialization for custom node types that inherit from this class. + def family + return :service + end + + ### Set service +attributes+. def modify( attributes ) attributes = stringify_keys( attributes ) super