Sha256: 6b4cea5f42a6e5992272f076e030994bd9acdf78439ee782c1253ae920b0b3e4

Contents?: true

Size: 553 Bytes

Versions: 56

Compression:

Stored size: 553 Bytes

Contents

require 'padrino-core'
require 'haml'
require 'pact_broker/services'

module PactBroker
  module UI
    module Controllers
      class Clusters < Padrino::Application

        set :root, File.join(File.dirname(__FILE__), '..')

        class Cluster

          def initialize pacticipants, relationships

          end

        end

        get "/" do
          view_model = ViewDomain::Relationships.new(pacticipant_service.find_relationships)
          haml 'clusters/show', locals: {relationships: view_model}
        end

      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
pact_broker-2.9.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.9.0.beta.5 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.8.0.beta.5 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.8.0.beta.4 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.7.0.beta.3 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.7.0.beta.2 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.7.0.beta.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.6.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.5.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.5.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.4.2 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.4.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.4.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.3.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.2.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.1.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.1.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.5 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.4 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.3 lib/pact_broker/ui/controllers/clusters.rb