Class: MockServer::A2A::RawExpectation Private
- Inherits:
-
Object
- Object
- MockServer::A2A::RawExpectation
- Defined in:
- lib/mockserver/a2a.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Wraps a Hash so it responds to to_h, allowing it to be passed to
Client#upsert.
Instance Method Summary collapse
-
#initialize(hash) ⇒ RawExpectation
constructor
private
A new instance of RawExpectation.
- #to_h ⇒ Object private
Constructor Details
#initialize(hash) ⇒ RawExpectation
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of RawExpectation.
66 67 68 |
# File 'lib/mockserver/a2a.rb', line 66 def initialize(hash) @hash = hash end |
Instance Method Details
#to_h ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
70 71 72 |
# File 'lib/mockserver/a2a.rb', line 70 def to_h @hash end |