Method: TypeAwareFieldGenerator#CP
- Defined in:
- lib/ez7gen/service/type_aware_field_generator.rb
#CP(map, force = false) ⇒ Object
234 235 236 237 238 239 240 241 242 243 244 245 |
# File 'lib/ez7gen/service/type_aware_field_generator.rb', line 234 def CP(map, force=false) #check if the field is optional and randomly generate it of skip return '' if(!generate?(map, force)) #price (MO) MO(map,true) #price type (ID) #from value (NM) #to value (NM) #range units (CE) #range type (ID) end |