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
7 8 9 |
# File 'lib/event_store_client/adapters/in_memory.rb', line 7 def body @body end |
#status ⇒ Object
Returns the value of attribute status
7 8 9 |
# File 'lib/event_store_client/adapters/in_memory.rb', line 7 def status @status end |
Instance Method Details
#success? ⇒ Boolean
8 9 10 |
# File 'lib/event_store_client/adapters/in_memory.rb', line 8 def success? status == 200 end |