Module: Resourcey

Defined in:
lib/resourcey/config.rb,
lib/resourcey/errors.rb,
lib/resourcey/filter.rb,
lib/resourcey/paginator.rb,
lib/resourcey/controller.rb,
lib/resourcey/serializer.rb,
lib/resourcey/initializer.rb,
lib/resourcey/controller_model.rb,
lib/resourcey/filter_processor.rb,
lib/resourcey/controller_filtering.rb,
lib/resourcey/controller_pagination.rb,
lib/resourcey/controller_serialization.rb,
lib/resourcey/controller_collection_scope.rb

Defined Under Namespace

Modules: ControllerCollectionScope, ControllerFiltering, ControllerModel, ControllerPagination, ControllerSerialization, Errors Classes: Config, Controller, Filter, FilterProcessor, Initializer, Paginator, Serializer

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



15
16
17
# File 'lib/resourcey/config.rb', line 15

def config
  @config
end

Class Method Details

.configure {|@config| ... } ⇒ Object

Yields:



20
21
22
# File 'lib/resourcey/config.rb', line 20

def self.configure
  yield @config
end