Module: DaffyLib::PartitionProvider

Extended by:
ActiveSupport::Concern
Defined in:
lib/daffy_lib/concerns/partition_provider.rb

Instance Method Summary collapse

Instance Method Details

#provider_infoObject

Raises:

  • (ActiveRecord::RecordInvalid)


42
43
44
45
46
# File 'lib/daffy_lib/concerns/partition_provider.rb', line 42

def provider_info
  raise ActiveRecord::RecordInvalid if partition_provider_attribute.nil?

  provider_record_info(send(partition_provider_attribute))
end