Sha256: 696f62921b17c5bed85d1432d85af2ec038ae3b9165825d97d775c1e69f6f2fd

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

# encoding: UTF-8

require "dandelionapi/version"

require "dandelionapi/base"
require "dandelionapi/entity_extraction"
require "dandelionapi/text_similarity"
require "dandelionapi/language_detection"

module Dandelionapi
  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
  class MissingParameters < Exception; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dandelionapi-0.0.2 lib/dandelionapi.rb