Class: HCloud::PublicNetFirewall

Inherits:
Entity
  • Object
show all
Defined in:
lib/hcloud/entities/public_net_firewall.rb

Instance Method Summary collapse

Instance Method Details

#applied?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/hcloud/entities/public_net_firewall.rb', line 8

def applied?
  status == "applied"
end

#pending?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/hcloud/entities/public_net_firewall.rb', line 12

def pending?
  status == "pending"
end