Module: RestfulJson

Defined in:
lib/restful_json/model.rb,
lib/restful_json/config.rb,
lib/restful_json/railtie.rb,
lib/restful_json/version.rb,
lib/restful_json/controller.rb

Defined Under Namespace

Modules: Controller, Model Classes: Railtie

Constant Summary collapse

CONTROLLER_OPTIONS =
[
  :can_filter_by_default_using, 
  :debug,
  :filter_split,
  :formats,
  :number_of_records_in_a_page,
  :predicate_prefix,
  :return_resource
]
VERSION =
'3.0.1'

Class Method Summary collapse

Class Method Details

.configure(&blk) ⇒ Object



15
# File 'lib/restful_json/config.rb', line 15

def configure(&blk); class_eval(&blk); end