Sha256: 0b97d35a5a13db6cd2815c9c0d41c774755d1418930a46b2bb376e49c85fbac7

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

require 'openlab/version'
require 'openlab/client'
require 'openlab/projects'

module Openlab
  class << self
    attr_accessor :config

    def config
      @config ||= Config.new
    end
  end

  def self.configure
    yield config
  end

  class Config
    attr_accessor :app_secret, :base_uri
    attr_reader :api_version_path

    def initialize
      @base_uri = 'https://openprojects.fab-manager.com'
      @api_version_path = '/api/v1'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openlab_ruby-0.0.5 lib/openlab_ruby.rb
openlab_ruby-0.0.4 lib/openlab_ruby.rb