Module: Wikidata

Defined in:
lib/wikidata.rb,
lib/wikidata/item.rb,
lib/wikidata/client.rb,
lib/wikidata/config.rb,
lib/wikidata/entity.rb,
lib/wikidata/version.rb,
lib/wikidata/property.rb,
lib/wikidata/response.rb,
lib/wikidata/property/url.rb,
lib/wikidata/property/base.rb,
lib/wikidata/property/hash.rb,
lib/wikidata/property/time.rb,
lib/wikidata/property/string.rb,
lib/wikidata/search_response.rb,
lib/wikidata/property/quantity.rb,
lib/wikidata/property/commons_media.rb,
lib/wikidata/property/globe_coordinate.rb,
lib/wikidata/property/monolingual_text.rb

Defined Under Namespace

Modules: Property Classes: Client, Config, Entity, Item, Response, SearchResponse

Constant Summary collapse

VERSION =
"0.1.0".freeze

Class Method Summary collapse

Class Method Details

.adapterObject



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

def adapter
  Config.adapter
end

.configure(&block) ⇒ Object



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

def configure(&block)
  Config.configure(&block)
end

.mappingObject



26
27
28
# File 'lib/wikidata.rb', line 26

def mapping
  Config.mapping
end

.optionsObject



18
19
20
# File 'lib/wikidata.rb', line 18

def options
  Config.options
end

.settingsObject



22
23
24
# File 'lib/wikidata.rb', line 22

def settings
  Config.settings
end