Sha256: dd2ea0c616bfd6f27de7f8e50ec2604f3194241c92ffeccc6df9dbbdc6a6be43

Contents?: true

Size: 577 Bytes

Versions: 2

Compression:

Stored size: 577 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'
require 'evostream/event/commands/list_config'
require 'evostream/event/commands/list_streams'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
evostream-event-0.3.0 lib/evostream/event/commands.rb
evostream-event-0.3.0.pre.48 lib/evostream/event/commands.rb