Sha256: 337c6bbaed6219ad3dc409e73a9d3a1eaabe8a23a1da050ce325bd05030a7dcb

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

# frozen_string_literal: true

module Upgrow
  # Repositories are responsible for the persistence layer of the app. They
  # encapsulate Rails’ Active Record in a subset of simple methods for querying
  # and persistence of data, and return simple read-only objects as a result.
  # This allows the app to isolate Active Record only to this subset, exposing
  # only the desired queries and methods to other layers through Repositories.
  class Repository < BasicRepository
    include ActiveRecordAdapter
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
upgrow-0.0.2 lib/upgrow/repository.rb