Sha256: dc3e8cd39021068cdc2c0132de89928f99c0910fe0df834f0f691bd08213c8fe
Contents?: true
Size: 327 Bytes
Versions: 7
Compression:
Stored size: 327 Bytes
Contents
require 'equalizer' require 'twitter/base' module Twitter class Suggestion < Twitter::Base include Equalizer.new(:slug) attr_reader :name, :size, :slug # @return [Array<Twitter::User>] def users Array(@attrs[:users]).map do |user| User.new(user) end end memoize :users end end
Version data entries
7 entries across 7 versions & 1 rubygems