Sha256: 394fa453ab6116dbe2559884f9c92ede166456e92ab33e24d9a564ef13f63b8d
Contents?: true
Size: 569 Bytes
Versions: 2
Compression:
Stored size: 569 Bytes
Contents
require 'net/http' require 'open-uri' require 'pathname' require 'multi_json' require_relative 'http' module Base module Apis ROOT = Pathname(File.dirname(File.expand_path('../../', __FILE__))) API_HOST = Pathname('https://api.thebase.in') API_VERSION = '1'.freeze CONFIG = { DEFAULT: { CLIENT_SECRET: { PATH: ROOT / 'config/client_secret.json' } } }.freeze Dir.glob(ROOT / 'lib/base/**/*.rb').each { |file| require file } def initialize(client_secret) @client_secret = client_secret end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
base-api-client-0.3.1.beta | lib/base/apis.rb |
base-api-client-0.3.beta | lib/base/apis.rb |