Module: Restulicious

Defined in:
lib/restulicious/adapter/rest_api.rb,
lib/restulicious.rb,
lib/restulicious/config.rb,
lib/restulicious/parser.rb,
lib/restulicious/adapter.rb,
lib/restulicious/version.rb,
lib/restulicious/attributes.rb,
lib/restulicious/collection.rb,
lib/restulicious/connection.rb,
lib/restulicious/coordinator.rb,
lib/restulicious/query_methods.rb,
lib/restulicious/parser/default.rb,
lib/restulicious/adapter/default.rb,
lib/restulicious/query_interface.rb

Overview

TODO: Split out this adapter into a separate gem

Defined Under Namespace

Modules: Adapter, Attributes, Connection, Parser, QueryMethods Classes: Collection, Config, Coordinator, QueryInterface

Constant Summary collapse

VERSION =
"0.1.11"

Class Method Summary collapse

Class Method Details

.configObject



19
20
21
22
23
24
25
26
# File 'lib/restulicious.rb', line 19

def self.config
  @config ||= Config.new
  if block_given?
    yield @config
  else
    @config
  end
end