Sha256: 904f78e92448b8c55cf9d38bfe589f09d97fedaed76a6594c60f0ded0fdd106a

Contents?: true

Size: 143 Bytes

Versions: 7

Compression:

Stored size: 143 Bytes

Contents

bean :repository do
  inject :dao
  inject :users_creator

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
smart_ioc-0.5.2 spec/smart_ioc/example/admins/repository/admins_repository.rb
smart_ioc-0.5.1 spec/smart_ioc/example/admins/repository/admins_repository.rb
smart_ioc-0.5.0 spec/smart_ioc/example/admins/repository/admins_repository.rb
smart_ioc-0.3.9 spec/smart_ioc/example/admins/repository/admins_repository.rb
smart_ioc-0.3.8 spec/smart_ioc/example/admins/repository/admins_repository.rb
smart_ioc-0.3.7 spec/smart_ioc/example/admins/repository/admins_repository.rb
smart_ioc-0.3.6 spec/smart_ioc/example/admins/repository/admins_repository.rb