Class: Fixturama::Changes::Request::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/fixturama/changes/request/response.rb

Overview

Store data for a response to the corresponding request

Instance Attribute Summary collapse

Instance Attribute Details

#repeatInteger (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_hHash<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