Sha256: a8b4a18b365860950b8640ce68da20d29d5891c3ad2b32cfc21f0058c9e1fa55

Contents?: true

Size: 372 Bytes

Versions: 5

Compression:

Stored size: 372 Bytes

Contents

require 'httparty'
require './lib/zype/configuration.rb'
require './lib/zype/client.rb'
require './lib/zype/base_model.rb'
Dir[File.join(__dir__, '../lib/zype/models', '*.rb')].each { |file| require file }

module Zype
  class << self
    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield(configuration)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zype-0.8.0 lib/zype.rb
zype-0.7.0 lib/zype.rb
zype-0.6.0 lib/zype.rb
zype-0.5.0 lib/zype.rb
zype-0.4.0 lib/zype.rb