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.
487 488 489 490 |
# File 'lib/dpl/provider/bintray.rb', line 487 def initialize(path, body) @path = path @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
493 494 495 |
# File 'lib/dpl/provider/bintray.rb', line 493 def body @body end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
492 493 494 |
# File 'lib/dpl/provider/bintray.rb', line 492 def path @path end |