class EY::Serverside::Callbacks::Collection::Combined

Public Instance Methods

all() click to toggle source
# File lib/engineyard-serverside/callbacks/collection/combined.rb, line 11
def all
  collections.
    map {|collection| collection.all}.
    flatten
end
matching(callback) click to toggle source
# File lib/engineyard-serverside/callbacks/collection/combined.rb, line 17
def matching(callback)
  collections.
    map {|collection| collection.matching(callback)}.
    flatten
end

Private Instance Methods

app_hooks() click to toggle source
# File lib/engineyard-serverside/callbacks/collection/combined.rb, line 29
def app_hooks
  @app_hooks
end
collections() click to toggle source
# File lib/engineyard-serverside/callbacks/collection/combined.rb, line 37
def collections
  [service_hooks, app_hooks]
end
load_hooks() click to toggle source
# File lib/engineyard-serverside/callbacks/collection/combined.rb, line 24
def load_hooks
  @service_hooks = ServiceHooks.load(paths)
  @app_hooks = DeployHooks.load(paths)
end
service_hooks() click to toggle source
# File lib/engineyard-serverside/callbacks/collection/combined.rb, line 33
def service_hooks
  @service_hooks
end