Sha256: 0d5fa9debcd8ac3d0f949696a0c1c1ed73b41cf99e7c0f5de592252a3a1d14c7

Contents?: true

Size: 482 Bytes

Versions: 17

Compression:

Stored size: 482 Bytes

Contents

# frozen_string_literal: true

module Evostream
  # Manage command
  module Commands
    # Class parent for all command
    class Command
      def initialize(commands = {})
        @command = []
        commands.each do |command_name, command_param|
          @command.push send(command_name, command_param)
        end
      end
    end
  end
end

require 'evostream/event/commands/create'
require 'evostream/event/commands/destroy'
require 'evostream/event/commands/push_stream'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
evostream-event-0.2.7 lib/evostream/event/commands.rb
evostream-event-0.2.7.pre.44 lib/evostream/event/commands.rb
evostream-event-0.2.6 lib/evostream/event/commands.rb
evostream-event-0.2.6.pre.41 lib/evostream/event/commands.rb
evostream-event-0.2.6.pre.39 lib/evostream/event/commands.rb
evostream-event-0.2.5 lib/evostream/event/commands.rb
evostream-event-0.2.5.pre.35 lib/evostream/event/commands.rb
evostream-event-0.2.5.pre.34 lib/evostream/event/commands.rb
evostream-event-0.2.4 lib/evostream/event/commands.rb
evostream-event-0.2.4.pre.31 lib/evostream/event/commands.rb
evostream-event-0.2.3 lib/evostream/event/commands.rb
evostream-event-0.2.3.pre.27 lib/evostream/event/commands.rb
evostream-event-0.2.2 lib/evostream/event/commands.rb
evostream-event-0.2.2.pre.25 lib/evostream/event/commands.rb
evostream-event-0.2.1 lib/evostream/event/commands.rb
evostream-event-0.2.1.pre.23 lib/evostream/event/commands.rb
evostream-event-0.2.0.pre.22 lib/evostream/event/commands.rb