Class: Tuya::ConfigLib
- Inherits:
-
Object
- Object
- Tuya::ConfigLib
- Defined in:
- lib/tuya/cli/odm/config.rb
Instance Attribute Summary collapse
-
#group_name ⇒ Object
Returns the value of attribute group_name.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(group_name, name) ⇒ ConfigLib
constructor
A new instance of ConfigLib.
Constructor Details
#initialize(group_name, name) ⇒ ConfigLib
Returns a new instance of ConfigLib.
99 100 101 102 103 |
# File 'lib/tuya/cli/odm/config.rb', line 99 def initialize(group_name, name) @name = name @group_name = group_name @url = "#{Tuya::TUYA_ODM_GITLAB_HOST}/#{group_name}/#{name}.git" end |
Instance Attribute Details
#group_name ⇒ Object
Returns the value of attribute group_name.
97 98 99 |
# File 'lib/tuya/cli/odm/config.rb', line 97 def group_name @group_name end |
#name ⇒ Object
Returns the value of attribute name.
96 97 98 |
# File 'lib/tuya/cli/odm/config.rb', line 96 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
98 99 100 |
# File 'lib/tuya/cli/odm/config.rb', line 98 def url @url end |