Class: FbRails::Mock::Responder
- Inherits:
-
Object
- Object
- FbRails::Mock::Responder
- Defined in:
- lib/fb_rails/mock.rb
Instance Attribute Summary collapse
-
#responses ⇒ Object
readonly
Returns the value of attribute responses.
Instance Method Summary collapse
- #add(path, data) ⇒ Object
-
#initialize(responses) ⇒ Responder
constructor
A new instance of Responder.
Constructor Details
#initialize(responses) ⇒ Responder
Returns a new instance of Responder.
12 13 14 |
# File 'lib/fb_rails/mock.rb', line 12 def initialize(responses) @responses = responses end |
Instance Attribute Details
#responses ⇒ Object (readonly)
Returns the value of attribute responses.
11 12 13 |
# File 'lib/fb_rails/mock.rb', line 11 def responses @responses end |