Class: Flynn::CLI::Tools::CloudFlare

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/flynn/cli/tools/cloudflare.rb

Class Method Summary collapse

Class Method Details

.zone_identifierObject

Pulls the zone identifier for our domain



51
52
53
# File 'lib/flynn/cli/tools/cloudflare.rb', line 51

def self.zone_identifier
	@zone_identifier ||= self.get("/zones?name=#{ENV['CLOUDFLARE_ZONE']}")[0]["id"]
end