Sha256: 7aad0abd5ddd15e3c2471875cffc3c5ecb4dade9b3d7cb1a323a2b7dab2286dc

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

# Connecting to the MediaWiki Docker setup  at https://hub.docker.com/_/mediawiki/

def input_wiki
  options = {
    host: '0.0.0.0',
    username: 'wikiuser',
    password: 'example',
    database: 'my_wiki',
    port: 63_645
  }
  Caramelize::InputWiki::MediaWiki.new(options)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caramelize-1.3.1 samples/media_wiki.rb
caramelize-1.3.0 samples/media_wiki.rb