Module: DataGuru

Defined in:
lib/data_guru.rb,
lib/data_guru/model.rb,
lib/data_guru/client.rb,
lib/data_guru/version.rb,
lib/data_guru/collection.rb,
lib/data_guru/validation.rb,
lib/data_guru/configuration.rb,
lib/data_guru/model_configuration.rb,
lib/data_guru/validations/configuration.rb,
lib/data_guru/validations/model_configuration.rb

Defined Under Namespace

Modules: Model Classes: Client, Collection, Configuration, ConfigurationValidation, ModelConfiguration, ModelConfigurationValidation, Validation

Constant Summary collapse

VERSION =
"0.3.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



17
18
19
# File 'lib/data_guru.rb', line 17

def config
  @config
end

Class Method Details

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

Yields:



24
25
26
# File 'lib/data_guru.rb', line 24

def self.configure
  yield(config)
end

.resetObject



28
29
30
# File 'lib/data_guru.rb', line 28

def self.reset
  @config = Configuration.new
end