lib/api_pack.rb in api_pack-1.1.1 vs lib/api_pack.rb in api_pack-1.1.2

- old
+ new

@@ -8,11 +8,10 @@ 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/constants' require 'api_pack/support/helper' require 'api_pack/serializer/parser' module ApiPack module_function @@ -34,9 +33,17 @@ @exp = value end def exp @exp ||= DEFAULT_EXP + 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