class HotsApi::Repositories::HeroRepository

Private Instance Methods

collection_path() click to toggle source
# File lib/hots_api/repositories/hero_repository.rb, line 12
def collection_path
  'heroes'
end
instantiate_record_with(attributes) click to toggle source
# File lib/hots_api/repositories/hero_repository.rb, line 8
def instantiate_record_with(attributes)
  Models::Hero.new(attributes)
end