Page MenuHomePhorge

getting.ex
No OneTemporary

Size
444 B
Referenced Files
None
Subscribers
None

getting.ex

# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Config.Getting do
@callback get(any()) :: any()
@callback get(any(), any()) :: any()
def get(key), do: get(key, nil)
def get(key, default), do: impl().get(key, default)
def impl do
Application.get_env(:pleroma, :config_impl, Pleroma.Config)
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Sun, Feb 15, 5:50 AM (16 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1096814
Default Alt Text
getting.ex (444 B)

Event Timeline