Module: Poisol::BuildStub

Included in:
StubBuilder
Defined in:
lib/poisol/stub/build_stub.rb

Instance Method Summary collapse

Instance Method Details

#buildObject



3
4
5
6
7
8
9
10
11
# File 'lib/poisol/stub/build_stub.rb', line 3

def build
  @stub = Stub.new
  build_url
  build_query
  build_request_body
  build_response
  Stubs.add @stub
  @stub
end