Sha256: e13cc444064e615883bb2e1e05fa75a099a9795785d10c980fedc04da04b7fc4

Contents?: true

Size: 731 Bytes

Versions: 1

Compression:

Stored size: 731 Bytes

Contents

require "initializers/string"
require "initializers/hash"
require "velocity/api/base"
require "velocity/api/role"
require "velocity/api/people"
require "velocity/api/invite"
require "velocity/api/team"
require "velocity/base"
require "velocity/role"
require "velocity/contributor"
require "velocity/invite"
require "velocity/team"
require "dotenv/load"

module Velocity
  class << self
    attr_accessor :configuration

    def configure
      @configuration ||= Configuration.new
      yield(configuration)
    end

    def configuration
      @configuration ||= Configuration.new
    end
  end

  class Configuration
    attr_accessor :api_token

    def api_token
      @api_token || ENV["VELOCITY_API_TOKEN"]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
velocity_client_ruby-0.3.0 lib/velocity.rb