Sha256: d61d6990b15e5ed1e80b1a84fa4a8b9b556d7b6a7373ebf88c4ac91c81a628ad
Contents?: true
Size: 679 Bytes
Versions: 2
Compression:
Stored size: 679 Bytes
Contents
# # Set default values here, some can be overridden on command line # class Configurator attr_accessor :package, :json_file, :top_level_class, :output_directory, :unknown_class, :json_property_import, :json_serialize_import def initialize # If types cannot be inferred from example json, they will be represented with Object unless overridden. # In which case, UNKNOWN will be used. This will prohibit the class from compiling. self.unknown_class = "Object" self.json_property_import = "import java.util.Date;" self.json_serialize_import = "import com.google.gson.annotations.SerializedName;" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
j2j-0.2.6 | lib/j2j/configurator.rb |
j2j-0.2.5 | lib/j2j/configurator.rb |