zenkay/ai-applied-ruby

View on GitHub
lib/applied.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "applied/version"
require "applied/sentiment"

module Applied

  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