Sha256: 816530aac2c35c736337773f3661e537b57a187d1a6c2430a0bf1964baf2cf8a
Contents?: true
Size: 800 Bytes
Versions: 11
Compression:
Stored size: 800 Bytes
Contents
#!/usr/bin/env ruby require_relative './../spec/spec_helper' require 'time' class User include ROXML xml_reader :id, :as => Integer xml_reader :name xml_reader :screen_name xml_reader :location xml_reader :description xml_reader :profile_image_url xml_reader :url xml_reader :protected? xml_reader :followers_count, :as => Integer end class Status include ROXML xml_reader :id, :as => Integer xml_reader :text xml_reader :created_at # This defaults to :as => DateTime, due to the '_at' xml_reader :source xml_reader :truncated? xml_reader :in_reply_to_status_id, :as => Integer xml_reader :in_reply_to_user_id, :as => Integer xml_reader :favorited? xml_reader :user, :as => User end class Statuses include ROXML xml_reader :statuses, :as => [Status] end
Version data entries
11 entries across 11 versions & 2 rubygems