Sha256: 944e7fb87f76ab72533e5adfa29650aaf5f559dc7cd6a65c0a66ca66ec5ce313

Contents?: true

Size: 891 Bytes

Versions: 3

Compression:

Stored size: 891 Bytes

Contents

require 'moo_moo/exceptions'
require 'faraday'
require 'moo_moo/version'
require 'moo_moo/logger'
require 'moo_moo/config'
require 'moo_moo/base_command'
require 'moo_moo/middleware/open_srs_errors'
require 'moo_moo/middleware/parse_open_srs'
require 'moo_moo/middleware/open_srs_xml_builder'

module MooMoo
  class << self
    attr_accessor :config
  end

  def self.configure
    yield config if block_given?
    config
  end

  self.config = Config.new
end

require 'moo_moo/services/lookup'
require 'moo_moo/services/nameserver'
require 'moo_moo/services/provisioning'
require 'moo_moo/services/transfer'
require 'moo_moo/services/dns_zone'
require 'moo_moo/services/cookie'

Faraday.register_middleware :request, :open_srs_xml_builder => MooMoo::OpenSRSXMLBuilder
Faraday.register_middleware :response, :open_srs_errors => MooMoo::OpenSRSErrors, :parse_open_srs => MooMoo::ParseOpenSRS

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
moo_moo-0.10.0 lib/moo_moo.rb
moo_moo-0.9.0 lib/moo_moo.rb
moo_moo-0.8.0 lib/moo_moo.rb