lib/emojidex/data/utf.rb in emojidex-0.1.0 vs lib/emojidex/data/utf.rb in emojidex-0.2.0
- old
+ new
@@ -5,11 +5,11 @@
module Data
# listing and search of standard UTF emoji
class UTF < Collection
include Emojidex::Data::StaticCollection
- def initialize
- super
+ def initialize(opts = {})
+ super(opts)
@endpoint = 'utf_emoji'
load_from_server unless check_and_load_static('utf')
@emoji
end
end