Class: DPL::Provider::Bintray::RequestDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



505
506
507
# File 'lib/dpl/provider/bintray.rb', line 505

def body
  @body
end

#pathObject (readonly)

Returns the value of attribute path.



504
505
506
# File 'lib/dpl/provider/bintray.rb', line 504

def path
  @path
end