Sha256: 1fca264443f2ea86bc1d6202cda953e7462d9c255be2be9486900b43eb825d94

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

# encoding: utf-8

module ROM
  class Session
    class State

      # @api private
      class Transient < self
        include Concord::Public.new(:object, :mapper)

        # @api private
        def save(relation)
          Created.new(object, mapper, relation)
        end

      end # Transient

    end # State
  end # Session
end # ROM

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rom-0.2.0 lib/rom/session/state/transient.rb
rom-session-0.1.1 lib/rom/session/state/transient.rb
rom-session-0.1.0 lib/rom/session/state/transient.rb