Sha256: 6fadc90a01521211201460210569b5c2dbff83e746cb83eb3eb65f64af3eaec4

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

module Vedeu

  # Allows the storing of events.
  #
  # @api public
  class Events < Repository

    class << self

      alias_method :events, :repository

      # Remove all stored models from the repository.
      #
      # @example
      #   Vedeu.events.reset
      #
      # @return [Vedeu::Events]
      def reset!
        @events = new(Vedeu::EventCollection)
      end

    end

  end # Events

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.4.45 lib/vedeu/repositories/repositories/events.rb