Sha256: cb5eaa3b501b688d8a1ab91434b073b7662e45d2c2ddd532546dc996ca83a366
Contents?: true
Size: 416 Bytes
Versions: 66
Compression:
Stored size: 416 Bytes
Contents
module FbGraph class Poke include Comparison attr_accessor :from, :to, :created_time def initialize(attributes = {}) if from = attributes[:from] @from = User.new from[:id], from end if to = attributes[:to] @to = User.new to[:id], to end if attributes[:created_time] @created_time = Time.parse attributes[:created_time] end end end end
Version data entries
66 entries across 66 versions & 1 rubygems