Class: Tuya::ConfigLib

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(group_name, name) ⇒ ConfigLib

Returns a new instance of ConfigLib.



96
97
98
99
100
101
# File 'lib/tycli/config.rb', line 96

def initialize(group_name, name)
	@name = name
	@group_name = group_name

	@url = "https://gitlab.com/#{group_name}/#{name}.git"
end

Instance Attribute Details

#group_nameObject

Returns the value of attribute group_name.



94
95
96
# File 'lib/tycli/config.rb', line 94

def group_name
  @group_name
end

#nameObject

Returns the value of attribute name.



93
94
95
# File 'lib/tycli/config.rb', line 93

def name
  @name
end

#urlObject

Returns the value of attribute url.



95
96
97
# File 'lib/tycli/config.rb', line 95

def url
  @url
end