Sha256: ec9fe49ef3b20aeb4507ab9c74c46754ac49566e999ac53169edc8e9e37de79f
Contents?: true
Size: 924 Bytes
Versions: 2
Compression:
Stored size: 924 Bytes
Contents
require 'jwt' require 'fast_jsonapi' require 'api_pack/version' require 'api_pack/api_helper' require 'api_pack/json_web_token' require 'api_pack/pagination_meta_generator' require 'api_pack/errors/auth' require 'api_pack/errors/error_map' require 'api_pack/errors/handle_error' require 'api_pack/errors/api_errors_serializer' require 'api_pack/errors/validation_error_serializer' require 'api_pack/errors/validation_errors_serializer' require 'api_pack/support/helper' require 'api_pack/serializer/parser' module ApiPack module_function DEFAULT_PAGE = 1 DEFAULT_PER_PAGE = 10 def default_per_page=(value) @default_per_page = value end def default_per_page @default_per_page ||= DEFAULT_PER_PAGE end def hmac_secret=(value) @hmac_secret = value end def hmac_secret @hmac_secret end def serializer_adapter=(adapter) ApiPack::Serializer::Parser.adapter = adapter end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
api_pack-1.1.4 | lib/api_pack.rb |
api_pack-1.1.3 | lib/api_pack.rb |