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.



13
14
15
# File 'lib/amitree/heroku_deployer.rb', line 13

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.



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

def production_promoted_from_staging=(value)
  @production_promoted_from_staging = value
end

#production_releaseObject

Returns the value of attribute production_release.



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

def production_release
  @production_release
end

#staging_release_to_deployObject

Returns the value of attribute staging_release_to_deploy.



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

def staging_release_to_deploy
  @staging_release_to_deploy
end

#storiesObject

Returns the value of attribute stories.



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

def stories
  @stories
end

Instance Method Details

#production_promoted_from_staging?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/amitree/heroku_deployer.rb', line 17

def production_promoted_from_staging?
  @production_promoted_from_staging
end