# File lib/rhc/rest/mock.rb, line 999 def initialize(client, id, ref, sha1, artifact_url, hot_deploy, created_at, force_clean_build, activations) super({}, client) @id = id @ref = ref @sha1 = sha1 @artifact_url = artifact_url @hot_deploy = hot_deploy @created_at = created_at @force_clean_build = force_clean_build @activations = activations end
# File lib/rhc/rest/mock.rb, line 1011 def activations @activations.map{|activation| MockRestActivation.new(client, RHC::Helpers.datetime_rfc3339(activation))}.sort end