Class: RSpec::DocumentRequests::Writers::Base::Request
- Inherits:
-
Object
- Object
- RSpec::DocumentRequests::Writers::Base::Request
- Defined in:
- lib/rspec/document_requests/writers/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #body(body) ⇒ Object
- #close ⇒ Object
- #headers(headers) ⇒ Object
-
#initialize(file) ⇒ Request
constructor
A new instance of Request.
- #parameters(parameters) ⇒ Object
- #path(method, path) ⇒ Object
- #title(message) ⇒ Object
Constructor Details
#initialize(file) ⇒ Request
Returns a new instance of Request.
38 39 40 |
# File 'lib/rspec/document_requests/writers/base.rb', line 38 def initialize(file) @file = file end |
Instance Method Details
#body(body) ⇒ Object
54 55 56 |
# File 'lib/rspec/document_requests/writers/base.rb', line 54 def body(body) raise NotImplementedError end |
#close ⇒ Object
62 63 |
# File 'lib/rspec/document_requests/writers/base.rb', line 62 def close end |
#headers(headers) ⇒ Object
58 59 60 |
# File 'lib/rspec/document_requests/writers/base.rb', line 58 def headers(headers) raise NotImplementedError end |
#parameters(parameters) ⇒ Object
50 51 52 |
# File 'lib/rspec/document_requests/writers/base.rb', line 50 def parameters(parameters) raise NotImplementedError end |
#path(method, path) ⇒ Object
46 47 48 |
# File 'lib/rspec/document_requests/writers/base.rb', line 46 def path(method, path) raise NotImplementedError end |
#title(message) ⇒ Object
42 43 44 |
# File 'lib/rspec/document_requests/writers/base.rb', line 42 def title() raise NotImplementedError end |