Module: Transport::Common::InstanceMethods
- Defined in:
- lib/transport/common.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#request ⇒ Object
readonly
Returns the value of attribute request.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
19 20 21 |
# File 'lib/transport/common.rb', line 19 def @options end |
#request ⇒ Object (readonly)
Returns the value of attribute request.
18 19 20 |
# File 'lib/transport/common.rb', line 18 def request @request end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
20 21 22 |
# File 'lib/transport/common.rb', line 20 def response @response end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
17 18 19 |
# File 'lib/transport/common.rb', line 17 def uri @uri end |
Instance Method Details
#initialize(uri, request, options = { }) ⇒ Object
22 23 24 |
# File 'lib/transport/common.rb', line 22 def initialize(uri, request, = { }) @uri, @request, @options = uri, request, end |