Method: Dply::Release#initialize

Defined in:
lib/dply/release.rb

#initialize(revision:, app_name:, branch:, url:) ⇒ Release

Returns a new instance of Release.



30
31
32
33
34
35
# File 'lib/dply/release.rb', line 30

def initialize(revision:, app_name:, branch:, url:)
  @revision = revision
  @branch = branch.to_s.tr('-/', '__')
  @app_name = app_name.to_s.tr('-/', '__')
  @url = url
end