Sha256: 83118ab8dbb9c9e8f8216c5aa4251a5008b4d75380d51ba7bac0f804cbfe54db
Contents?: true
Size: 399 Bytes
Versions: 20
Compression:
Stored size: 399 Bytes
Contents
module FbGraph class Tag include Comparison attr_accessor :user, :x, :y, :created_time def initialize(identifier, attributes = {}) @x = attributes.delete(:x) @y = attributes.delete(:y) if (created_time = attributes.delete(:created_time)) @created_time = Time.parse(created_time).utc end @user = User.new(identifier, attributes) end end end
Version data entries
20 entries across 20 versions & 2 rubygems