Sha256: 4ccfde203da08b1dadc20bb87aa9ba2e33ea2946948ae2a8f5269c0e9dd676be
Contents?: true
Size: 1.3 KB
Versions: 17
Compression:
Stored size: 1.3 KB
Contents
module Twitter class SearchResult < Hash # Creates an easier to work with hash from # one with string-based keys def self.new_from_hash(hash) new.merge!(hash) end def created_at self['created_at'] end def created_at=(val) self['created_at'] = val end def from_user self['from_user'] end def from_user=(val) self['from_user'] = val end def from_user_id self['from_user_id'] end def from_user_id=(val) self['from_user_id'] = val end def id self['id'] end def id=(val) self['id'] = val end def iso_language_code self['iso_language_code'] end def iso_language_code=(val) self['iso_language_code'] = val end def profile_image_url self['profile_image_url'] end def profile_image_url=(val) self['profile_image_url'] = val end def text self['text'] end def text=(val) self['text'] = val end def to_user self['to_user'] end def to_user=(val) self['to_user'] = val end def to_user_id self['to_user_id'] end def to_user_id=(val) self['to_user_id'] = val end end end
Version data entries
17 entries across 17 versions & 13 rubygems