Sha256: 8d6185f64780a603d23a06312a64deaeb8661d81ae6df30739a4954b47bfd3b0

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

require "datatxt/version"
require "datatxt/base"
require "datatxt/nex"
require "datatxt/sim"
require "datatxt/li"

module Datatxt

  def self.configure(&block)
    yield @config ||= Configuration.new
  end

  def self.config
    @config
  end

  class Configuration
    attr_accessor :app_id, :app_key, :endpoint
  end

  class BadResponse < Exception; end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datatxt-0.1.0 lib/datatxt.rb
datatxt-0.0.2 lib/datatxt.rb