Class: PgVersions::Notification
- Inherits:
-
Object
- Object
- PgVersions::Notification
- Defined in:
- lib/pg_versions/pg_versions.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(channel, version) ⇒ Notification
constructor
A new instance of Notification.
Constructor Details
#initialize(channel, version) ⇒ Notification
Returns a new instance of Notification.
139 140 141 |
# File 'lib/pg_versions/pg_versions.rb', line 139 def initialize(channel,version) @channel, @version = channel, version end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
138 139 140 |
# File 'lib/pg_versions/pg_versions.rb', line 138 def channel @channel end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
138 139 140 |
# File 'lib/pg_versions/pg_versions.rb', line 138 def version @version end |