lib/profitbricks/data_center.rb in profitbricks-0.9.3 vs lib/profitbricks/data_center.rb in profitbricks-0.9.4
- old
+ new
@@ -50,12 +50,12 @@
# @see Profitbricks::Server#create
def create_server(options)
Server.create(options.merge(:data_center_id => self.id))
end
- # Checks if the Data Center is successfully provisioned
+ # Checks if the Data Center was successfully provisioned
#
- # @return [Boolean] true if the Data Center is provisioned
+ # @return [Boolean] true if the Data Center was provisioned, false otherwise
def provisioned?
self.update_state
if @provisioning_state == 'AVAILABLE'
self.reload
true