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(changed_versions, all_versions) ⇒ Notification

Returns a new instance of Notification.



193
194
195
196
# File 'lib/pg_versions/pg_versions.rb', line 193

def initialize(changed_versions, all_versions)
  @changed_versions, @all_versions = changed_versions, all_versions
  @changed, @versions = changed_versions, all_versions
end

Instance Attribute Details

#all_versionsObject (readonly)

Returns the value of attribute all_versions.



192
193
194
# File 'lib/pg_versions/pg_versions.rb', line 192

def all_versions
  @all_versions
end

#changedObject (readonly)

Returns the value of attribute changed.



192
193
194
# File 'lib/pg_versions/pg_versions.rb', line 192

def changed
  @changed
end

#changed_versionsObject (readonly)

Returns the value of attribute changed_versions.



192
193
194
# File 'lib/pg_versions/pg_versions.rb', line 192

def changed_versions
  @changed_versions
end

#versionsObject (readonly)

Returns the value of attribute versions.



192
193
194
# File 'lib/pg_versions/pg_versions.rb', line 192

def versions
  @versions
end