Sha256: aea6826f412535433145c475811bac517f9f9d71f9087bd14ec054ab157885b4

Contents?: true

Size: 1022 Bytes

Versions: 2

Compression:

Stored size: 1022 Bytes

Contents

require 'lhc'

module LHS
  autoload :Configuration,
    'lhs/concerns/configuration'
  autoload :AutoloadRecords,
    'lhs/concerns/autoload_records'
  autoload :Collection,
    'lhs/collection'
  autoload :Complex,
    'lhs/complex'
  autoload :Config,
    'lhs/config'
  autoload :Data,
    'lhs/data'
  autoload :Endpoint,
    'lhs/endpoint'
  autoload :Errors,
    'lhs/errors/base'
  module Errors
    autoload :Nested,
      'lhs/errors/nested'
  end
  autoload :Inspect,
    'lhs/concerns/inspect'
  autoload :Item,
    'lhs/item'
  autoload :Pagination,
    'lhs/pagination/base'
  module Pagination
    autoload :Offset,
      'lhs/pagination/offset'
    autoload :Page,
      'lhs/pagination/page'
    autoload :Start,
      'lhs/pagination/start'
  end
  autoload :Proxy,
    'lhs/proxy'
  autoload :Record,
    'lhs/record'

  include Configuration
  include AutoloadRecords

  require 'lhs/record' # as lhs records in an application are directly inheriting it

  require 'lhs/railtie' if defined?(Rails)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lhs-12.0.1 lib/lhs.rb
lhs-12.0.0 lib/lhs.rb