Class: Wikidata::Config
- Inherits:
-
Object
- Object
- Wikidata::Config
- Defined in:
- lib/wikidata/config.rb
Class Attribute Summary collapse
-
.adapter ⇒ Object
Returns the value of attribute adapter.
-
.mapping ⇒ Object
Returns the value of attribute mapping.
-
.options ⇒ Object
Returns the value of attribute options.
-
.settings ⇒ Object
Returns the value of attribute settings.
Class Method Summary collapse
Class Attribute Details
.adapter ⇒ Object
Returns the value of attribute adapter.
4 5 6 |
# File 'lib/wikidata/config.rb', line 4 def adapter @adapter end |
.mapping ⇒ Object
Returns the value of attribute mapping.
4 5 6 |
# File 'lib/wikidata/config.rb', line 4 def mapping @mapping end |
.options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/wikidata/config.rb', line 4 def @options end |
.settings ⇒ Object
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
6 7 8 |
# File 'lib/wikidata/config.rb', line 6 def configure yield self end |