Class: SupplejackApi::PreviewRecord

Inherits:
Object
  • Object
show all
Includes:
Support::FragmentHelpers, Support::Harvestable, Support::Storable
Defined in:
app/models/supplejack_api/preview_record.rb

Instance Method Summary collapse

Methods included from Support::Harvestable

#clear_attributes, #create_or_update_fragment, #set_status, #unset_null_fields, #update_from_harvest, #update_from_harvest!

Methods included from Support::FragmentHelpers

#duplicate_source_ids?, #find_fragment, #merge_fragments, #method_missing, #primary_fragment, #primary_fragment!, #sorted_fragments, #source_ids, #validate_unique_source_ids

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SupplejackApi::Support::FragmentHelpers

Instance Method Details

#fragment_classObject



26
27
28
# File 'app/models/supplejack_api/preview_record.rb', line 26

def fragment_class
  SupplejackApi::ApiRecord::RecordFragment
end