Class Rabl::Configuration
In: lib/rabl/configuration.rb
Parent: Object

Rabl.host

Methods

Constants

DEFAULT_XML_OPTIONS = { :dasherize => true, :skip_types => false }

Attributes

bson_check_keys  [RW] 
bson_engine  [W] 
bson_move_id  [RW] 
cache_all_output  [RW] 
cache_engine  [RW] 
cache_sources  [RW] 
camelize_keys  [RW] 
enable_json_callbacks  [RW] 
escape_all_output  [RW] 
exclude_empty_values_in_collections  [RW] 
exclude_nil_values  [RW] 
include_bson_root  [RW] 
include_child_root  [RW] 
include_json_root  [RW] 
include_msgpack_root  [RW] 
include_plist_root  [RW] 
include_xml_root  [RW] 
json_engine  [W] 
msgpack_engine  [W] 
perform_caching  [RW] 
plist_engine  [W] 
raise_on_missing_attribute  [RW] 
replace_empty_string_values_with_nil_values  [RW] 
replace_nil_values_with_empty_strings  [RW] 
use_read_multi  [RW] 
view_paths  [RW] 
xml_options  [W] 

Public Class methods

Public Instance methods

Allows config options to be read like a hash

@param [Symbol] option Key for a given attribute

@return the Bson encoder/engine to use.

Returns merged default and inputted xml options

@return The JSON engine used to encode Rabl templates into JSON

@return the MessagePack encoder/engine to use.

@return the Plist encoder/engine to use.

[Validate]