Sha256: 6619ba657e393b50a48a06c68dbc0cf879329c7067bea887816c50097e43b7e6

Contents?: true

Size: 170 Bytes

Versions: 23

Compression:

Stored size: 170 Bytes

Contents

class AdminsRepository
  include SmartIoC::Iocify

  bean :repository

  inject :dao

  def put(user)
    dao.insert(user)
  end

  def get(id)
    dao.get(id)
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
smart_ioc-0.1.16 spec/smart_ioc/example/admins/repository/admins_repository.rb
smart_ioc-0.1.14 spec/smart_ioc/example/admins/repository/admins_repository.rb
smart_ioc-0.1.13 spec/smart_ioc/example/admins/repository/admins_repository.rb