Sha256: 9331e50cce33c46db9df5f8f7d2f41b39ba94c3ce97e5734ade73beff2bbd401

Contents?: true

Size: 1.46 KB

Versions: 19

Compression:

Stored size: 1.46 KB

Contents

# frozen_string_literal: true

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 :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 :Problems,
    'lhs/problems/base'
  module Problems
    autoload :Base,
      'lhs/problems/base'
    autoload :Errors,
      'lhs/problems/errors'
    autoload :Nested,
      'lhs/problems/nested/base'
    module Nested
      autoload :Base,
      'lhs/problems/nested/base'
      autoload :Errors,
      'lhs/problems/nested/errors'
      autoload :Warnings,
      'lhs/problems/nested/warnings'
    end
    autoload :Warnings,
      'lhs/problems/warnings'
  end
  autoload :Proxy,
    'lhs/proxy'
  autoload :Record,
    'lhs/record'

  autoload :Unprocessable,
    'lhs/unprocessable'

  include Configuration
  include AutoloadRecords if defined?(Rails)

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

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
lhs-19.4.1 lib/lhs.rb
lhs-19.4.0 lib/lhs.rb
lhs-19.3.1 lib/lhs.rb
lhs-19.3.0 lib/lhs.rb
lhs-19.2.0 lib/lhs.rb
lhs-19.1.0 lib/lhs.rb
lhs-19.0.2 lib/lhs.rb
lhs-19.0.1 lib/lhs.rb
lhs-19.0.0 lib/lhs.rb
lhs-19.0.0.pre.endpoint.1 lib/lhs.rb
lhs-18.0.3 lib/lhs.rb
lhs-18.0.2 lib/lhs.rb
lhs-18.0.1 lib/lhs.rb
lhs-18.0.0 lib/lhs.rb
lhs-17.0.1 lib/lhs.rb
lhs-17.0.1.pre1 lib/lhs.rb
lhs-18.0.0.pre.pre1 lib/lhs.rb
lhs-17.0.0 lib/lhs.rb
lhs-16.1.6 lib/lhs.rb