Class: ArtisanMemoryRepository::ProjectConfigurationRepository

Inherits:
Object
  • Object
show all
Includes:
BaseRepository
Defined in:
lib/artisan-memory-repository/project_configuration_repository.rb

Instance Method Summary collapse

Methods included from BaseRepository

#create, #delete, #destroy_all, #find, #find_each, #records, #save, #where

Instance Method Details

#model_classObject



7
8
9
# File 'lib/artisan-memory-repository/project_configuration_repository.rb', line 7

def model_class
  ArtisanMemoryRepository::ProjectConfiguration
end

#new(attributes = {}) ⇒ Object



11
12
13
# File 'lib/artisan-memory-repository/project_configuration_repository.rb', line 11

def new(attributes = {})
  model_class.new(attributes)
end