Sha256: 6a9e6d9ac4942c0430e534fe17f09ab21d7faeb052fd825b9bbb245c62696fad

Contents?: true

Size: 557 Bytes

Versions: 3

Compression:

Stored size: 557 Bytes

Contents

module Trajectory
  class Update
    # @attr_reader stories [Stories] the updated stories by the update
    # @attr_reader iterations [iterations] the updated iterations by the update
    attr_reader :stories, :iterations

    # Creates a new update with given updated stories and iterations
    #
    # @param stories [Stories] collection of updated stories
    # @param iterations [Iterations] collection of updated iterations
    # :nocov:
    def initialize(stories, iterations)
      @stories = stories
      @iterations = iterations
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trajectory-0.1.2 lib/trajectory/domain/update.rb
trajectory-0.1.1 lib/trajectory/domain/update.rb
trajectory-0.1.0 lib/trajectory/domain/update.rb