Sha256: f504b6f1be8b6c1cee816b6d204fc94c2abb86e6c2cefcb71fc8d13d5fac269a

Contents?: true

Size: 358 Bytes

Versions: 7

Compression:

Stored size: 358 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'cloudflair'
require 'dotenv'

Dotenv.load

Cloudflair.configure do |c|
  c.cloudflare.auth.key = ENV['AUTH_KEY']
  c.cloudflare.auth.email = ENV['AUTH_MAIL']
  c.faraday.logger = :detailed_logger
end

if ENV['CF_ZONE']
  def z
    @z ||= Cloudflair.zone ENV['CF_ZONE']
  end
end

require 'irb'
IRB.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cloudflair-0.4.0 bin/cloudflair
cloudflair-0.3.0 bin/cloudflair
cloudflair-0.2.5 bin/cloudflair
cloudflair-0.2.4 bin/cloudflair
cloudflair-0.2.0 bin/cloudflair
cloudflair-0.1.0 bin/cloudflair
cloudflair-0.0.9 bin/cloudflair