Sha256: cbd5095ce3e2a35626ccbfbfb2a0baca5660dd0063fa6943d376e756134e1b61
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
require 'tentd/version' require 'tent-client' module TentD autoload :API, 'tentd/api' autoload :Action, 'tentd/action' autoload :JsonPatch, 'tentd/json_patch' autoload :TentVersion, 'tentd/tent_version' autoload :TentType, 'tentd/tent_type' def self.new(options={}) if options[:database] || ENV['DATABASE_URL'] DataMapper.setup(:default, options[:database] || ENV['DATABASE_URL']) end require "tentd/notifications/#{options[:job_backend] || 'girl_friday'}" @faraday_adapter = options[:faraday_adapter] API.new end def self.faraday_adapter @faraday_adapter end def self.faraday_adapter=(a) @faraday_adapter = a end end require 'tentd/model'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tentd-0.0.1 | lib/tentd.rb |