Sha256: c062fe91285cf37a0a8c50a2e65d91e6d56da8562b8028b175bd4661fac519e8

Contents?: true

Size: 1.42 KB

Versions: 49

Compression:

Stored size: 1.42 KB

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 :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

49 entries across 49 versions & 1 rubygems

Version Path
lhs-16.1.5 lib/lhs.rb
lhs-16.1.4 lib/lhs.rb
lhs-16.1.3 lib/lhs.rb
lhs-16.1.2 lib/lhs.rb
lhs-16.1.1 lib/lhs.rb
lhs-16.1.0 lib/lhs.rb
lhs-16.0.1 lib/lhs.rb
lhs-16.0.0 lib/lhs.rb
lhs-15.7.0 lib/lhs.rb
lhs-15.6.1 lib/lhs.rb
lhs-15.6.0 lib/lhs.rb
lhs-15.5.1 lib/lhs.rb
lhs-15.5.0 lib/lhs.rb
lhs-15.4.1 lib/lhs.rb
lhs-15.4.0 lib/lhs.rb
lhs-15.4.0.pre.hasone.1 lib/lhs.rb
lhs-15.3.3 lib/lhs.rb
lhs-15.3.3.pre.fixoptions.1 lib/lhs.rb
lhs-15.3.2 lib/lhs.rb
lhs-15.3.1 lib/lhs.rb