Sha256: 5ad00cae718c0122679ceb3ddf4f5b2e5c6ead77c8ee9192c8961345cc344e64
Contents?: true
Size: 390 Bytes
Versions: 95
Compression:
Stored size: 390 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
95 entries across 95 versions & 1 rubygems