Sha256: f991930e1b3c453bf4863bc9cc22059687a4d7e879d029afdae5f99b3a288875

Contents?: true

Size: 311 Bytes

Versions: 3

Compression:

Stored size: 311 Bytes

Contents

require "machinereading/version"
require "machinereading/element"

module Machinereading

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

  def self.config
    @config
  end

  class Configuration
    attr_accessor :api_key, :endpoint
  end

  class BadResponse < Exception; end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
machinereading-0.1.0 lib/machinereading.rb
machinereading-0.0.2 lib/machinereading.rb
machinereading-0.0.1 lib/machinereading.rb