Sha256: 7627ac459b0a738bc1cc0f284b8ca5e2e9115abd1b6517255c1f7394519a152f
Contents?: true
Size: 389 Bytes
Versions: 25
Compression:
Stored size: 389 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 def find_by_name(name) all.find { |container| container.name.downcase == name.downcase } end end end end
Version data entries
25 entries across 25 versions & 1 rubygems