Sha256: c1a49fef25b9ab5b453fde5131715edb165f146e15e430d1a95ef90b7fd70eba
Contents?: true
Size: 315 Bytes
Versions: 5
Compression:
Stored size: 315 Bytes
Contents
module Harbr class Container include Dddr::Entity attr_accessor :name, :host_header, :ip, :port queries do def find_by_header(host_header) all.find { |container| container.host_header.downcase == host_header.downcase } end end def number port end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
harbr-0.0.36 | lib/harbr/container.rb |
harbr-0.0.35 | lib/harbr/container.rb |
harbr-0.0.34 | lib/harbr/container.rb |
harbr-0.0.33 | lib/harbr/container.rb |
harbr-0.0.32 | lib/harbr/container.rb |