socketry / cloudflare

An asynchronous Ruby wrapper for the CloudFlare V4 API.
MIT License
139 stars 88 forks source link

I cant list blocked ip address #34

Closed progmas closed 5 years ago

progmas commented 6 years ago

irb(main):157:0> zones.first.firewall_rules.blocked_ips RuntimeError: can't modify frozen String from (irb):157

devondragon commented 6 years ago

Same issue here.

/Library/Ruby/Gems/2.3.0/gems/cloudflare-3.2.1/lib/cloudflare/zone.rb:109:inconcat': can't modify frozen String (RuntimeError) from /Library/Ruby/Gems/2.3.0/gems/cloudflare-3.2.1/lib/cloudflare/zone.rb:109:in all'

ioquatix commented 5 years ago

It's a bug in rest client. I'm removing it. it will be built on async-rest.