Class: EySecrets::Application

Inherits:
Struct
  • Object
show all
Defined in:
lib/ey_secrets/models/application.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#environmentsObject

Returns the value of attribute environments

Returns:

  • (Object)

    the current value of environments



2
3
4
# File 'lib/ey_secrets/models/application.rb', line 2

def environments
  @environments
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/ey_secrets/models/application.rb', line 2

def name
  @name
end

#repository_uriObject

Returns the value of attribute repository_uri

Returns:

  • (Object)

    the current value of repository_uri



2
3
4
# File 'lib/ey_secrets/models/application.rb', line 2

def repository_uri
  @repository_uri
end

Instance Method Details

#config_repository_uriObject



3
4
5
# File 'lib/ey_secrets/models/application.rb', line 3

def config_repository_uri
  repository_uri.gsub(/\.git$/, '_config.git')
end