Class: PgVersions::Notification

Inherits:
Object
  • Object
show all
Defined in:
lib/pg_versions/pg_versions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#channelObject (readonly)

Returns the value of attribute channel.



138
139
140
# File 'lib/pg_versions/pg_versions.rb', line 138

def channel
  @channel
end

#versionObject (readonly)

Returns the value of attribute version.



138
139
140
# File 'lib/pg_versions/pg_versions.rb', line 138

def version
  @version
end