Skip to content

Commit

Permalink
Add activation check (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
9mm authored Jan 22, 2025
1 parent 5bbec93 commit 903ae67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/cloudflare/zones.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ def purge_cache(**options)
self.class.post(@resource.with(path: "purge_cache"), options)
end

def activation_check
self.class.put(@resource.with(path: "activation_check"))
end

def name
result[:name]
end
Expand Down

0 comments on commit 903ae67

Please sign in to comment.