Method: UpGuard::Environment#update
- Defined in:
- lib/upguard/Environment.rb
#update ⇒ Object
80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/upguard/Environment.rb', line 80 def update h = to_hash h.delete("id") h.delete("organisation_id") h.delete("updated_by") h.delete("created_by") h.delete("updated_at") h.delete("created_at") h.delete("weight") http_put("/api/v2/environments/#{self.id}.json", h) end |