Class: Amitree::HerokuDeployer::ReleaseDetails

Inherits:
Object
  • Object
show all
Defined in:
lib/amitree/heroku_deployer.rb

Defined Under Namespace

Classes: Story

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeReleaseDetails

Returns a new instance of ReleaseDetails.



11
12
13
# File 'lib/amitree/heroku_deployer.rb', line 11

def initialize
  @stories = []
end

Instance Attribute Details

#production_promoted_from_staging=(value) ⇒ Object (writeonly)

Sets the attribute production_promoted_from_staging

Parameters:

  • value

    the value to set the attribute production_promoted_from_staging to.



9
10
11
# File 'lib/amitree/heroku_deployer.rb', line 9

def production_promoted_from_staging=(value)
  @production_promoted_from_staging = value
end

#production_releaseObject

Returns the value of attribute production_release.



8
9
10
# File 'lib/amitree/heroku_deployer.rb', line 8

def production_release
  @production_release
end

#staging_release_to_deployObject

Returns the value of attribute staging_release_to_deploy.



8
9
10
# File 'lib/amitree/heroku_deployer.rb', line 8

def staging_release_to_deploy
  @staging_release_to_deploy
end

#storiesObject

Returns the value of attribute stories.



8
9
10
# File 'lib/amitree/heroku_deployer.rb', line 8

def stories
  @stories
end

Instance Method Details

#production_promoted_from_staging?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/amitree/heroku_deployer.rb', line 15

def production_promoted_from_staging?
  @production_promoted_from_staging
end