@@ -26,7 +26,7 @@ class Project
2626 # The description of the project.
2727 attr_accessor :description
2828
29- # The type of carbon removal project, currently available project types are Biomass, Dac, Forestry, Mineralization, Ocean, Soil.
29+ # The type of carbon removal project, currently available project types are Biomass, Dac, Forestry, Mineralization, Ocean, Renewables, Soil.
3030 attr_accessor :type
3131
3232 # The country of origin of the project.
@@ -246,7 +246,7 @@ def valid?
246246 return false if @production . nil?
247247 return false if @name . nil?
248248 return false if @description . nil?
249- type_validator = EnumAttributeValidator . new ( 'String' , [ "biomass" , "dac" , "forestry" , "mineralization" , "ocean" , "soil" ] )
249+ type_validator = EnumAttributeValidator . new ( 'String' , [ "biomass" , "dac" , "forestry" , "mineralization" , "ocean" , "renewables" , " soil"] )
250250 return false unless type_validator . valid? ( @type )
251251 return false if @country . nil?
252252 return false if @developer . nil?
@@ -258,7 +258,7 @@ def valid?
258258 # Custom attribute writer method checking allowed values (enum).
259259 # @param [Object] type Object to be assigned
260260 def type = ( type )
261- validator = EnumAttributeValidator . new ( 'String' , [ "biomass" , "dac" , "forestry" , "mineralization" , "ocean" , "soil" ] )
261+ validator = EnumAttributeValidator . new ( 'String' , [ "biomass" , "dac" , "forestry" , "mineralization" , "ocean" , "renewables" , " soil"] )
262262 unless validator . valid? ( type )
263263 fail ArgumentError , "invalid value for \" type\" , must be one of #{ validator . allowable_values } ."
264264 end
0 commit comments