class Emojidex::Data::UTF

listing and search of standard UTF emoji

Public Class Methods

new(opts = {}) click to toggle source
Calls superclass method Emojidex::Data::Collection::new
# File lib/emojidex/data/utf.rb, line 10
def initialize(opts = {})
  super(opts)
  @endpoint = 'utf_emoji'
  @locale = opts[:locale] || Emojidex::Defaults.locale
  load_from_server((opts[:detailed] || true), @locale) unless check_and_load_static('utf')
  @emoji
end