Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (22 sloc) 0.619 kB
require 'twitter/base'
require 'twitter/creatable'
require 'twitter/geo_factory'
require 'twitter/place'
require 'twitter/user'
module Twitter
class Status < Twitter::Base
include Twitter::Creatable
attr_reader :id, :in_reply_to_screen_name, :in_reply_to_status_id,
:in_reply_to_user_id, :favorited, :retweet_count, :retweeted, :source,
:text, :truncated
alias :favorited? :favorited
alias :retweeted? :retweeted
alias :truncated? :truncated
def geo
Twitter::GeoFactory.new(@geo) if @geo
end
def place
Twitter::Place.new(@place) if @place
end
end
end
Jump to Line
Something went wrong with that request. Please try again.