class Fog::OracleCloud::Database::Recovery
Public Instance Methods
completed?()
click to toggle source
# File lib/fog/oraclecloud/models/database/recovery.rb, line 16 def completed? status == "COMPLETED" end
Private Instance Methods
reload()
click to toggle source
# File lib/fog/oraclecloud/models/database/recovery.rb, line 22 def reload requires :database_id data = begin if !db_tag.nil? then collection.get(database_id, 'tag', db_tag) else collection.get(database_id) end rescue Excon::Errors::SocketError nil end return unless data new_attributes = data.attributes merge_attributes(new_attributes) self end