Class: SOULs::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



29
30
31
32
33
34
35
36
37
# File 'lib/souls.rb', line 29

def initialize
  @app = nil
  @project_id = nil
  @region = nil
  @endpoint = nil
  @strain = nil
  @fixed_gems = nil
  @workers = nil
end

Instance Attribute Details

#appObject

Returns the value of attribute app.



27
28
29
# File 'lib/souls.rb', line 27

def app
  @app
end

#endpointObject

Returns the value of attribute endpoint.



27
28
29
# File 'lib/souls.rb', line 27

def endpoint
  @endpoint
end

#fixed_gemsObject

Returns the value of attribute fixed_gems.



27
28
29
# File 'lib/souls.rb', line 27

def fixed_gems
  @fixed_gems
end

#project_idObject

Returns the value of attribute project_id.



27
28
29
# File 'lib/souls.rb', line 27

def project_id
  @project_id
end

#regionObject

Returns the value of attribute region.



27
28
29
# File 'lib/souls.rb', line 27

def region
  @region
end

#strainObject

Returns the value of attribute strain.



27
28
29
# File 'lib/souls.rb', line 27

def strain
  @strain
end

#workersObject

Returns the value of attribute workers.



27
28
29
# File 'lib/souls.rb', line 27

def workers
  @workers
end

Instance Method Details

#instance_nameObject



39
40
41
# File 'lib/souls.rb', line 39

def instance_name
  "souls-#{@app}-db"
end