Class: EventStoreClient::HTTP::RequestMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/event_store_client/adapters/http/request_method.rb

Constant Summary collapse

InvalidMethodError =
Class.new(StandardError)

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



7
8
9
# File 'lib/event_store_client/adapters/http/request_method.rb', line 7

def ==(other)
  name == other.to_s
end

#to_sObject



11
12
13
# File 'lib/event_store_client/adapters/http/request_method.rb', line 11

def to_s
  name
end