Class: Hope::Source::Twitter::Tweet

Inherits:
EventType show all
Defined in:
lib/hope/source/twitter.rb

Class Method Summary collapse

Methods inherited from EventType

#get, register, schema

Class Method Details

.propertiesObject



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'lib/hope/source/twitter.rb', line 57

def self.properties
  {
    "place"                               => "string",
    "user"                                => "TwitterUser",
    "in_reply_to_user_id"                 => "long",
    "retweet_count"                       => "int",
    "id_str"                              => "string",
    "geo"                                 => "string",
    "favorited"                           => "bool",
    "text"                                => "string",
    "in_reply_to_status_id_str"           => "string",
    "in_reply_to_screen_name"             => "string",
    "in_reply_to_user_id_str"             => "string",
    "coordinates"                         => "string",
    "truncated"                           => "bool",
    "contributors"                        => "string",
    "retweeted"                           => "bool",
    "id"                                  => "long",
    "source"                              => "string",
    "created_at"                          => "string",
    "in_reply_to_status_id"               => "long"
  }
end