rabl_init.rb revision 4b8c0f56a6a49c41dd0e9fdd28a27c4f35e2a208
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen GallagherRabl.configure do |config|
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # Commented as these are defaults
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.cache_all_output = false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.cache_sources = Rails.env != 'development' # Defaults to false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.cache_engine = Rabl::CacheEngine.new # Defaults to Rails cache
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.perform_caching = false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.escape_all_output = false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.json_engine = nil # Class with #dump class method (defaults JSON)
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.msgpack_engine = nil # Defaults to ::MessagePack
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.bson_engine = nil # Defaults to ::BSON
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.plist_engine = nil # Defaults to ::Plist::Emit
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher config.include_json_root = false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.include_msgpack_root = true
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.include_bson_root = true
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.include_plist_root = true
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.include_xml_root = false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher config.include_child_root = false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.enable_json_callbacks = false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.xml_options = { :dasherize => true, :skip_types => false }
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.view_paths = []
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher # config.raise_on_missing_attribute = true # Defaults to false
3996e391054a1c02ab62e1541ae21a8204bd5d0aAmitKumar # config.replace_nil_values_with_empty_strings = true # Defaults to false
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagherend