Packages

OpenAPI Client libary for Harness Feature Flags Erlang Server SDK

Current section

Files

Jump to
harness_ff_erlang_client_api src cfapi_key_value.erl
Raw

src/cfapi_key_value.erl

-module(cfapi_key_value).
-export([encode/1]).
-export_type([cfapi_key_value/0]).
-type cfapi_key_value() ::
#{ 'key' := binary(),
'value' := binary()
}.
encode(#{ 'key' := Key,
'value' := Value
}) ->
#{ 'key' => Key,
'value' => Value
}.