Class: Evesync::ServiceFactory
- Inherits:
-
Object
- Object
- Evesync::ServiceFactory
- Defined in:
- lib/evesync/service.rb
Instance Attribute Summary collapse
-
#at_exit ⇒ Object
Returns the value of attribute at_exit.
-
#at_start ⇒ Object
Returns the value of attribute at_start.
- #interval ⇒ Object
- #ip ⇒ Object
- #logs ⇒ Object
-
#name ⇒ Object
Returns the value of attribute name.
- #pids ⇒ Object
- #port ⇒ Object
-
#proxy ⇒ Object
Returns the value of attribute proxy.
Instance Attribute Details
#at_exit ⇒ Object
Returns the value of attribute at_exit.
81 82 83 |
# File 'lib/evesync/service.rb', line 81 def at_exit @at_exit end |
#at_start ⇒ Object
Returns the value of attribute at_start.
81 82 83 |
# File 'lib/evesync/service.rb', line 81 def at_start @at_start end |
#interval ⇒ Object
100 101 102 |
# File 'lib/evesync/service.rb', line 100 def interval @interval || 3600 end |
#ip ⇒ Object
96 97 98 |
# File 'lib/evesync/service.rb', line 96 def ip @ip || 'localhost' end |
#logs ⇒ Object
84 85 86 |
# File 'lib/evesync/service.rb', line 84 def logs @logs || '/var/log/evesync/' end |
#name ⇒ Object
Returns the value of attribute name.
81 82 83 |
# File 'lib/evesync/service.rb', line 81 def name @name end |
#pids ⇒ Object
88 89 90 |
# File 'lib/evesync/service.rb', line 88 def pids @pids || '/var/run/evesync/' end |
#port ⇒ Object
92 93 94 |
# File 'lib/evesync/service.rb', line 92 def port @port || name.to_sym end |
#proxy ⇒ Object
Returns the value of attribute proxy.
81 82 83 |
# File 'lib/evesync/service.rb', line 81 def proxy @proxy end |