Class: JsonTail::Service
- Inherits:
-
Object
- Object
- JsonTail::Service
- Defined in:
- lib/json_tail/service.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ Service
constructor
A new instance of Service.
- #start ⇒ Object
Constructor Details
#initialize(name, options = {}) ⇒ Service
Returns a new instance of Service.
5 6 7 8 |
# File 'lib/json_tail/service.rb', line 5 def initialize(name, = {}) @name = name @options = end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/json_tail/service.rb', line 3 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/json_tail/service.rb', line 3 def @options end |