Module: Transport::Common::ClassMethods
- Defined in:
- lib/transport/common.rb
Instance Method Summary collapse
Instance Method Details
#request(http_method, url, options = { }) ⇒ Object
30 31 32 33 34 35 |
# File 'lib/transport/common.rb', line 30 def request(http_method, url, = { }) uri, request = self::RequestBuilder.build http_method, url, transport = new uri, request, transport.perform transport.response end |