Sha256: 6cc1459c91f1cea1fb08557b8d8d54848ba4b528acfefcb6493816baf53a03fb

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

module FbGraph
  class Tag
    include FbGraph::Comparison

    attr_accessor :user, :x, :y, :created_time

    def initialize(identifier, options = {})
      @x = options.delete(:x)
      @y = options.delete(:y)
      if (created_time = options.delete(:created_time))
        @created_time = Time.parse(created_time)
      end
      @user = User.new(identifier, options)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph-0.0.8 lib/fb_graph/tag.rb