Sha256: 41f1f17d4b8013900e5800f1f38662d85a96b35ea5e2cc010695a76a1e21de72

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

module Veeqo
  class Configuration
    attr_accessor :api_host, :api_key

    def initialize
      @api_host ||= "api.veeqo.com"
    end
  end

  def self.configure
    yield configuration
  end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veeqo-0.1.1 lib/veeqo/configuration.rb
veeqo-0.1.0 lib/veeqo/configuration.rb