Sha256: dd9d34af6a06754c4c4e64bab9ef48e42adfea36fa7f363c025d7f570e03c59b

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

require 'happymapper'
require 'httparty'

require 'daywalker/base'
require 'daywalker/type_converter'
require 'daywalker/dynamic_finder_match'
require 'daywalker/district'
require 'daywalker/legislator'

module Daywalker
  # Set the API to be used
  def self.api_key=(api_key)
    @api_key = api_key
  end
  # Get the API to be used
  def self.api_key
    @api_key
  end

  # Error for when you use the API with a bad API key
  class BadApiKey < StandardError
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
technicalpickles-daywalker-0.1.0 lib/daywalker.rb
technicalpickles-daywalker-0.1.1 lib/daywalker.rb