Class: BintrayDeploy::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/bintray_deploy/model/base.rb

Direct Known Subclasses

Package, Repo, Version

Instance Method Summary collapse

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