Class: EventStoreClient::InMemory::Response
- Inherits:
-
Struct
- Object
- Struct
- EventStoreClient::InMemory::Response
- Defined in:
- lib/event_store_client/adapters/in_memory.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
5 6 7 |
# File 'lib/event_store_client/adapters/in_memory.rb', line 5 def body @body end |
#status ⇒ Object
Returns the value of attribute status
5 6 7 |
# File 'lib/event_store_client/adapters/in_memory.rb', line 5 def status @status end |
Instance Method Details
#success? ⇒ Boolean
6 7 8 |
# File 'lib/event_store_client/adapters/in_memory.rb', line 6 def success? status == 200 end |