Class: PubsubClient::NullPublisher::NullResult
- Inherits:
-
Struct
- Object
- Struct
- PubsubClient::NullPublisher::NullResult
- Defined in:
- lib/pubsub_client/null_publisher.rb
Overview
This is required so that this publisher maintains the same contract as a real publisher.
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
8 9 10 |
# File 'lib/pubsub_client/null_publisher.rb', line 8 def error @error end |
Instance Method Details
#succeeded? ⇒ Boolean
9 10 11 |
# File 'lib/pubsub_client/null_publisher.rb', line 9 def succeeded? true end |