Class: EventStore::HTTPClient::Handler::NullCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/event_store_http_client/handler.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#event_typeObject

Returns the value of attribute event_type.



34
35
36
# File 'lib/event_store_http_client/handler.rb', line 34

def event_type
  @event_type
end

Class Method Details

.build(event_type) ⇒ Object



40
41
42
43
44
45
# File 'lib/event_store_http_client/handler.rb', line 40

def self.build(event_type)
  new.tap do |instance|
    Logger.configure instance
    instance.event_type = event_type
  end
end

Instance Method Details

#!Object



36
37
38
# File 'lib/event_store_http_client/handler.rb', line 36

def !
  logger.debug "No command to execute for this eventType (type: #{event_type})"
end