Method: Effective::Resources::Attributes#effective_addresses_attributes

Defined in:
app/models/effective/resources/attributes.rb

#effective_addresses_attributesObject



40
41
42
43
# File 'app/models/effective/resources/attributes.rb', line 40

def effective_addresses_attributes
  return {} unless defined?(EffectiveAddresses) && instance.respond_to?(:effective_address_names)
  instance.effective_address_names.inject({}) { |h, name| h[name] = [:effective_address]; h }
end