Class: ArtisanMemoryRepository::MemberRepository

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

Instance Method Summary collapse

Instance Method Details

#model_nameObject



5
6
7
# File 'lib/artisan-memory-repository/member_repository.rb', line 5

def model_name
  Member
end

#new(attributes = {}) ⇒ Object



9
10
11
# File 'lib/artisan-memory-repository/member_repository.rb', line 9

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