Sha256: c48c3b3b065fcfbe961540630516bdb3f8bb34c63f0f41e993e3c8e40ff8df8b

Contents?: true

Size: 896 Bytes

Versions: 7

Compression:

Stored size: 896 Bytes

Contents

# frozen_string_literal: true

require 'active_model'

# @api public
#
class Acfs::Resource
  require 'acfs/resource/initialization'
  require 'acfs/resource/attributes'
  require 'acfs/resource/dirty'
  require 'acfs/resource/loadable'
  require 'acfs/resource/locatable'
  require 'acfs/resource/operational'
  require 'acfs/resource/persistence'
  require 'acfs/resource/query_methods'
  require 'acfs/resource/service'
  require 'acfs/resource/validation'

  if ActiveModel::VERSION::MAJOR >= 4
    include ActiveModel::Model
  else
    extend ActiveModel::Naming
    extend ActiveModel::Translation
    include ActiveModel::Conversion
    include ActiveModel::Validations
  end

  include Initialization

  include Attributes
  include Loadable
  include Persistence
  include Locatable
  include Operational
  include QueryMethods
  include Service
  include Dirty
  include Validation
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
acfs-2.0.0 lib/acfs/resource.rb
acfs-1.7.0 lib/acfs/resource.rb
acfs-1.6.0 lib/acfs/resource.rb
acfs-1.5.1 lib/acfs/resource.rb
acfs-1.5.0 lib/acfs/resource.rb
acfs-1.4.0 lib/acfs/resource.rb
acfs-1.3.4 lib/acfs/resource.rb