Class: Flynn::CLI::Tools::CloudFlare
- Inherits:
-
Object
- Object
- Flynn::CLI::Tools::CloudFlare
- Includes:
- HTTParty
- Defined in:
- lib/flynn/cli/tools/cloudflare.rb
Class Method Summary collapse
-
.zone_identifier ⇒ Object
Pulls the zone identifier for our domain.
Class Method Details
.zone_identifier ⇒ Object
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 |