Class: Transport::HTTP

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/transport/http.rb,
lib/transport/http/formatter.rb,
lib/transport/http/request_builder.rb,
lib/transport/http/request_builder/parameter_serializer.rb

Overview

Common transport layer for http transfers.

Defined Under Namespace

Classes: Formatter, RequestBuilder

Instance Method Summary collapse

Methods included from Common

included

Instance Method Details

#performObject



14
15
16
17
18
19
20
21
22
# File 'lib/transport/http.rb', line 14

def perform
  if RUBY_VERSION < "1.9"
    perform_request_1_8
  else
    perform_request
  end
  log_transport
  check_status_code
end