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.



150
151
152
153
# File 'lib/pg_versions/pg_versions.rb', line 150

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.



149
150
151
# File 'lib/pg_versions/pg_versions.rb', line 149

def all_versions
  @all_versions
end

#changedObject (readonly)

Returns the value of attribute changed.



149
150
151
# File 'lib/pg_versions/pg_versions.rb', line 149

def changed
  @changed
end

#changed_versionsObject (readonly)

Returns the value of attribute changed_versions.



149
150
151
# File 'lib/pg_versions/pg_versions.rb', line 149

def changed_versions
  @changed_versions
end

#versionsObject (readonly)

Returns the value of attribute versions.



149
150
151
# File 'lib/pg_versions/pg_versions.rb', line 149

def versions
  @versions
end