Module: Mastodon::REST::CustomEmojis

Includes:
Utils
Included in:
API
Defined in:
lib/mastodon/rest/custom_emojis.rb

Instance Method Summary collapse

Methods included from Utils

#array_param, #perform_request, #perform_request_with_collection, #perform_request_with_object

Instance Method Details

#custom_emojisMastodon::Collection<Mastodon::Emoji>

Get a list of custom emojis on the server



11
12
13
# File 'lib/mastodon/rest/custom_emojis.rb', line 11

def custom_emojis
  perform_request_with_collection('/api/v1/custom_emojis', {}, Mastodon::Emoji)
end