Module: Trophonius

Defined in:
lib/trophonius.rb,
lib/trophonius_error.rb,
lib/trophonius_model.rb,
lib/trophonius_config.rb,
lib/trophonius_record.rb,
lib/trophonius_request.rb,
lib/trophonius_recordset.rb,
lib/trophonius_connection.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Connection, Error, Request Classes: Configuration, Model, Record, RecordSet

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/trophonius.rb', line 14

def self.config
  @configuration
end

.configurationObject



6
7
8
# File 'lib/trophonius.rb', line 6

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



10
11
12
# File 'lib/trophonius.rb', line 10

def self.configure
  yield configuration
end