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.0.2 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0.beta.8 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0.beta.7 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0.beta.6 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.18.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0.beta.5 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.18.0.beta.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.17.2 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.17.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0.beta.4 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0.beta.3 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0.beta.2 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.0.0.beta.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.17.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.16.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.15.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.14.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-1.13.0 lib/pact_broker/ui/controllers/clusters.rb