Method: Fog::Compute::Softlayer::KeyPair#update

Defined in:
lib/fog/softlayer/models/compute/key_pair.rb

#updateObject



31
32
33
34
35
# File 'lib/fog/softlayer/models/compute/key_pair.rb', line 31

def update
  requires :id
  merge_attributes(service.update_key_pair(self.id, self.attributes).body)
  self
end