Sha256: f344286b255476a244907b46700b647d4871b0754c99bb3989f9f8082e59956e

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

module ZumataV3
  class << self
    attr_accessor :configuration
  end
 
  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end
 
  class Configuration
    attr_accessor :api_url, :api_key
 
    def initialize
      @api_url = ''
      @api_key = nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zumata_v3-0.0.2 lib/zumata_v3/config.rb
zumata_v3-0.0.1 lib/zumata_v3/config.rb