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.



487
488
489
490
# File 'lib/dpl/provider/bintray.rb', line 487

def initialize(path, body)
  @path = path
  @body = body
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



493
494
495
# File 'lib/dpl/provider/bintray.rb', line 493

def body
  @body
end

#pathObject (readonly)

Returns the value of attribute path.



492
493
494
# File 'lib/dpl/provider/bintray.rb', line 492

def path
  @path
end