Class: BintrayDeploy::Base
- Inherits:
-
Object
- Object
- BintrayDeploy::Base
- Defined in:
- lib/bintray_deploy/model/base.rb
Instance Method Summary collapse
-
#initialize(repo) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(repo) ⇒ Base
Returns a new instance of Base.
3 4 5 6 |
# File 'lib/bintray_deploy/model/base.rb', line 3 def initialize(repo) @repo = repo @bintray = RestClient::Resource.new(ROOT, :user => C.user, :password => C.password) end |