Class/Module Index [+]

Quicksearch

RHC::Rest::Mock::MockRestDeployment

Public Instance Methods

activations() click to toggle source
# File lib/rhc/rest/mock.rb, line 1044
def activations
  @activations.map{|activation| MockRestActivation.new(client, RHC::Helpers.datetime_rfc3339(activation))}.sort
end

Public Class Methods

new(client, id, ref, sha1, artifact_url, hot_deploy, created_at, force_clean_build, activations) click to toggle source
# File lib/rhc/rest/mock.rb, line 1032
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

[Validate]

Generated with the Darkfish Rdoc Generator 2.