Skip to content

Commit 1f7514c

Browse files
committed
yeah, so, basically, testing in production, sorry about thaat
1 parent 69e2807 commit 1f7514c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/cloudflare/certificates.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Cloudflare
55

66
class Certificate < Representation
77
def certificate
8-
value[:certificate]
8+
result[:certificate]
99
end
1010
end
1111

lib/cloudflare/i_ps.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ module Cloudflare
44
class IPs < Representation
55
def cidrs(ipv: nil)
66
if ipv
7-
value[:"ipv#{ipv}_cidrs"]
7+
result[:"ipv#{ipv}_cidrs"]
88
else
9-
value[:ipv4_cidrs].to_a + value[:ipv6_cidrs].to_a
9+
result[:ipv4_cidrs].to_a + result[:ipv6_cidrs].to_a
1010
end
1111
end
1212
end

0 commit comments

Comments
 (0)