Class: EmmyHttp::Request
- Inherits:
-
Object
- Object
- EmmyHttp::Request
- Includes:
- ModelPack::Document
- Defined in:
- lib/emmy_http/request.rb
Instance Method Summary collapse
- #operation ⇒ Object (also: #op)
-
#ssl? ⇒ Boolean
FIXME: move to model_pack.
- #sync ⇒ Object
Instance Method Details
#operation ⇒ Object Also known as: op
35 36 37 |
# File 'lib/emmy_http/request.rb', line 35 def operation @operation ||= EmmyHttp::Operation.new(self, adapter.new) end |
#ssl? ⇒ Boolean
FIXME: move to model_pack
53 54 55 |
# File 'lib/emmy_http/request.rb', line 53 def ssl? !!ssl end |
#sync ⇒ Object
41 42 43 |
# File 'lib/emmy_http/request.rb', line 41 def sync operation.sync end |