Module: Resourcey

Defined in:
lib/resourcey/config.rb,
lib/resourcey/errors.rb,
lib/resourcey/paginator.rb,
lib/resourcey/controller.rb,
lib/resourcey/serializer.rb,
lib/resourcey/controller_model.rb,
lib/resourcey/controller_pagination.rb

Defined Under Namespace

Modules: ControllerModel, ControllerPagination, Errors Classes: Config, Controller, Paginator, Serializer

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.


11
12
13
# File 'lib/resourcey/config.rb', line 11

def config
  @config
end

Class Method Details

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

Yields:


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

def self.configure
  yield @config
end