Sha256: 0f1e5457d739e372024268a88f8d58c87f92913c9075df584d456b3400861b8b

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

# frozen_string_literal: true

require 'httparty'

require 'dry-validation'
require 'dry-types'

require 'arbetsformedlingen/version'

require 'arbetsformedlingen/key_struct'

require 'arbetsformedlingen/codes/country_code'
require 'arbetsformedlingen/codes/drivers_license_code'
require 'arbetsformedlingen/codes/experience_required_code'
require 'arbetsformedlingen/codes/municipality_code'
require 'arbetsformedlingen/codes/occupation_code'
require 'arbetsformedlingen/codes/salary_type_code'

require 'arbetsformedlingen/models/dry/types'
require 'arbetsformedlingen/models/dry/predicates'

require 'arbetsformedlingen/models/model'
require 'arbetsformedlingen/models/document'
require 'arbetsformedlingen/models/company'
require 'arbetsformedlingen/models/publication'
require 'arbetsformedlingen/models/position'
require 'arbetsformedlingen/models/qualification'
require 'arbetsformedlingen/models/salary'
require 'arbetsformedlingen/models/schedule'
require 'arbetsformedlingen/models/application_method'
require 'arbetsformedlingen/models/packet'

# API Client
require 'arbetsformedlingen/api/client'

module Arbetsformedlingen
  class << self
    attr_accessor :config
  end

  def self.configure
    self.config ||= Configuration.new
    block_given? ? yield(config) : config
  end

  class Configuration
    attr_accessor :test

    def initialize
      @test = false
    end
  end
end

Arbetsformedlingen.configure

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arbetsformedlingen-0.4.0 lib/arbetsformedlingen.rb
arbetsformedlingen-0.3.0 lib/arbetsformedlingen.rb