Sha256: 380c425d747d5c34af9968353e7fd84c286f6e0420d43d0bcc591969cc00481b

Contents?: true

Size: 1013 Bytes

Versions: 3

Compression:

Stored size: 1013 Bytes

Contents

# -*- coding: utf-8 -*-

require 'forwardable'
require 'set'
require 'pathname'

require 'concord'
require 'inflection'
require 'uri_template'
require 'rack/accept'

require 'yaks/util'
require 'yaks/fp'
require 'yaks/primitivize'

require 'yaks/default_policy'

module Yaks
  Undefined = Object.new
  Root = Pathname(__FILE__).join('../..')

  YAKS_DEFAULT_OPTIONS = {
    singular_links: [:self, :profile]
  }

  class << self
    def new(&blk)
      Yaks::Config.new(&blk)
    end
  end

end


require 'yaks/resource'
require 'yaks/null_resource'
require 'yaks/resource/link'
require 'yaks/collection_resource'

require 'yaks/mapper/link'
require 'yaks/mapper/association'
require 'yaks/mapper/has_one'
require 'yaks/mapper/has_many'
require 'yaks/mapper/config'
require 'yaks/mapper/class_methods'
require 'yaks/mapper'
require 'yaks/collection_mapper'

require 'yaks/serializer'
require 'yaks/serializer/hal'
require 'yaks/serializer/json_api'
require 'yaks/serializer/collection_json'
require 'yaks/config'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yaks-0.4.2 lib/yaks.rb
yaks-0.4.1 lib/yaks.rb
yaks-0.4.0 lib/yaks.rb