Class: Fixturama::Changes::Request::Response
- Inherits:
-
Object
- Object
- Fixturama::Changes::Request::Response
- Defined in:
- lib/fixturama/changes/request/response.rb
Overview
Store data for a response to the corresponding request
Instance Attribute Summary collapse
- #repeat ⇒ Integer readonly
- #repeat A number of times the response to be repeated(Anumberoftimestheresponsetoberepeated) ⇒ Integer readonly
- #to_h ⇒ Hash<Symbol, Object> readonly
- #to_h A hash for the +to_respond(...)+ part of the stub(Ahash) ⇒ Hash<Symbol, Object> readonly
Instance Attribute Details
#repeat ⇒ Integer (readonly)
9 10 11 |
# File 'lib/fixturama/changes/request/response.rb', line 9 def repeat @repeat end |
#repeat A number of times the response to be repeated(Anumberoftimestheresponsetoberepeated) ⇒ Integer (readonly)
9 |
# File 'lib/fixturama/changes/request/response.rb', line 9 attr_reader :repeat |
#to_h ⇒ Hash<Symbol, Object> (readonly)
13 14 15 |
# File 'lib/fixturama/changes/request/response.rb', line 13 def to_h @to_h end |
#to_h A hash for the +to_respond(...)+ part of the stub(Ahash) ⇒ Hash<Symbol, Object> (readonly)
13 |
# File 'lib/fixturama/changes/request/response.rb', line 13 attr_reader :to_h |