Sha256: a89e09939cc068b3560ba8d4580eb03ba19d102fd580bc869a8f329cd93bf329

Contents?: true

Size: 317 Bytes

Versions: 5

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

require_relative "open_fda_api/version"
require_relative "open_fda_api/client"

# A Ruby wrapper for the openFDA API: https://open.fda.gov/apis/
module OpenFdaApi
  class Error < StandardError; end

  def self.client(api_key: nil)
    OpenFdaApi::Client.new(api_key: api_key)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
open_fda_api-0.0.6 lib/open_fda_api.rb
open_fda_api-0.0.5 lib/open_fda_api.rb
open_fda_api-0.0.4 lib/open_fda_api.rb
open_fda_api-0.0.3 lib/open_fda_api.rb
open_fda_api-0.0.1 lib/open_fda_api.rb