Class: DPL::Provider::Bintray::RequestDetails
- Inherits:
-
Object
- Object
- DPL::Provider::Bintray::RequestDetails
- Defined in:
- lib/dpl/provider/bintray.rb
Overview
Used to return the path and body of REST requests sent to Bintray. Used for testing.
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, body) ⇒ RequestDetails
constructor
A new instance of RequestDetails.
Constructor Details
#initialize(path, body) ⇒ RequestDetails
Returns a new instance of RequestDetails.
499 500 501 502 |
# File 'lib/dpl/provider/bintray.rb', line 499 def initialize(path, body) @path = path @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
505 506 507 |
# File 'lib/dpl/provider/bintray.rb', line 505 def body @body end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
504 505 506 |
# File 'lib/dpl/provider/bintray.rb', line 504 def path @path end |