Class: Ludwig::Service

Inherits:
Struct
  • Object
show all
Defined in:
lib/ludwig/service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



2
3
4
# File 'lib/ludwig/service.rb', line 2

def config
  @config
end

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



2
3
4
# File 'lib/ludwig/service.rb', line 2

def data
  @data
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/ludwig/service.rb', line 2

def name
  @name
end

#projectObject

Returns the value of attribute project

Returns:

  • (Object)

    the current value of project



2
3
4
# File 'lib/ludwig/service.rb', line 2

def project
  @project
end

Instance Method Details

#generate_yamlObject



3
4
5
6
7
# File 'lib/ludwig/service.rb', line 3

def generate_yaml
  transform_data
  merge_extra_links
  new_data
end