Class: Profitbricks::FirewallRule
- Defined in:
- lib/profitbricks/rule.rb
Instance Method Summary collapse
-
#delete ⇒ Boolean
Deletes the FirewallRule.
Methods inherited from Model
#attributes, belongs_to, has_many, #initialize, #reload
Constructor Details
This class inherits a constructor from Profitbricks::Model
Instance Method Details
#delete ⇒ Boolean
Deletes the FirewallRule
6 7 8 9 |
# File 'lib/profitbricks/rule.rb', line 6 def delete response = Profitbricks.request :remove_firewall_rules, firewall_rule_ids: self.id return true end |