Sha256: eded14860424c32c23990d608149040060ff047ff7e9bc33bcd4727198feef2e
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
module ForemanDigitalocean module Concerns module HostManagedExtensions extend ActiveSupport::Concern included do # Rails 4 does not provide dynamic finders for delegated methods and # the SSH orchestrate compute method uses them. def self.find_by_ip(ip) nic = Nic::Base.find_by_ip(ip) nic.host if nic.present? end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems