Class: DispatchRider::Publisher::Configuration::NotificationService
- Inherits:
-
Object
- Object
- DispatchRider::Publisher::Configuration::NotificationService
- Defined in:
- lib/dispatch-rider/publisher/configuration/notification_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
- #==(other) ⇒ Object
-
#initialize(name, options) ⇒ NotificationService
constructor
A new instance of NotificationService.
Constructor Details
#initialize(name, options) ⇒ NotificationService
Returns a new instance of NotificationService.
4 5 6 7 |
# File 'lib/dispatch-rider/publisher/configuration/notification_service.rb', line 4 def initialize(name, ) @name = name @options = end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/dispatch-rider/publisher/configuration/notification_service.rb', line 9 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/dispatch-rider/publisher/configuration/notification_service.rb', line 9 def @options end |
Instance Method Details
#==(other) ⇒ Object
11 12 13 14 |
# File 'lib/dispatch-rider/publisher/configuration/notification_service.rb', line 11 def ==(other) self.name == other.name && self. == other. end |