Sha256: c9e97f16d373e82ac972bc95f72e077830527b256eda2917d65e3300eb2d8f92

Contents?: true

Size: 306 Bytes

Versions: 85

Compression:

Stored size: 306 Bytes

Contents

require 'facebooker/model'
module Facebooker
  ##
  # A simple representation of a friend list.
  class FriendList
    include Model
    attr_accessor :name

    id_is :flid

    # We need this to be an integer, so do the conversion
    def flid=(f)
      @flid= ( f.nil? ? nil : f.to_i)
    end
  end
end

Version data entries

85 entries across 85 versions & 21 rubygems

Version Path
fs-facebooker-1.0.37 lib/facebooker/models/friend_list.rb
micahwedemeyer-facebooker-1.0.50 lib/facebooker/models/friend_list.rb
micahwedemeyer-facebooker-1.0.51 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.30 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.31 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.32 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.36 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.37 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.38 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.39 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.40 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.41 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.42 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.43 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.44 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.45 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.46 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.47 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.48 lib/facebooker/models/friend_list.rb
mmangino-facebooker-1.0.49 lib/facebooker/models/friend_list.rb