Class: HerokuRailsDeploy::Deployer::Options

Inherits:
Struct
  • Object
show all
Defined in:
lib/heroku_rails_deploy/deployer.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#environmentObject

Returns the value of attribute environment

Returns:

  • (Object)

    the current value of environment



19
20
21
# File 'lib/heroku_rails_deploy/deployer.rb', line 19

def environment
  @environment
end

#register_avro_schemasObject

Returns the value of attribute register_avro_schemas

Returns:

  • (Object)

    the current value of register_avro_schemas



19
20
21
# File 'lib/heroku_rails_deploy/deployer.rb', line 19

def register_avro_schemas
  @register_avro_schemas
end

#revisionObject

Returns the value of attribute revision

Returns:

  • (Object)

    the current value of revision



19
20
21
# File 'lib/heroku_rails_deploy/deployer.rb', line 19

def revision
  @revision
end

#skip_avro_schemasObject

Returns the value of attribute skip_avro_schemas

Returns:

  • (Object)

    the current value of skip_avro_schemas



19
20
21
# File 'lib/heroku_rails_deploy/deployer.rb', line 19

def skip_avro_schemas
  @skip_avro_schemas
end

Class Method Details

.create_default(app_registry) ⇒ Object



20
21
22
# File 'lib/heroku_rails_deploy/deployer.rb', line 20

def self.create_default(app_registry)
  new(app_registry.keys.first, 'HEAD')
end