Class: Wikidata::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/wikidata/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.adapterObject

Returns the value of attribute adapter.



4
5
6
# File 'lib/wikidata/config.rb', line 4

def adapter
  @adapter
end

.mappingObject

Returns the value of attribute mapping.



4
5
6
# File 'lib/wikidata/config.rb', line 4

def mapping
  @mapping
end

.optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/wikidata/config.rb', line 4

def options
  @options
end

.settingsObject

Returns the value of attribute settings.



4
5
6
# File 'lib/wikidata/config.rb', line 4

def settings
  @settings
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



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

def configure
  yield self
end