Sha256: 43e293bee41090395ea546b62b87d793202ae2cb8ec139fa44a181e7af4c1290

Contents?: true

Size: 658 Bytes

Versions: 66

Compression:

Stored size: 658 Bytes

Contents

module FbGraph
  class Privacy
    include Comparison
    include Serialization

    attr_accessor :value, :friends, :networks, :allow, :deny

    def initialize(attributes = {})
      @value       = attributes[:value]
      @description = attributes[:description]
      @friends     = attributes[:friends]
      @networks    = attributes[:networks]
      @allow       = attributes[:allow]
      @deny        = attributes[:deny]
    end

    def to_hash(options = {})
      {
        :value => self.value,
        :friends => self.friends,
        :networks => self.networks,
        :allow => self.allow,
        :deny => self.deny
      }
    end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
fb_graph-2.4.16 lib/fb_graph/privacy.rb
fb_graph-2.4.15 lib/fb_graph/privacy.rb
fb_graph-2.4.14 lib/fb_graph/privacy.rb
fb_graph-2.4.13 lib/fb_graph/privacy.rb
fb_graph-2.4.12 lib/fb_graph/privacy.rb
fb_graph-2.4.11 lib/fb_graph/privacy.rb
fb_graph-2.4.10 lib/fb_graph/privacy.rb
fb_graph-2.4.9 lib/fb_graph/privacy.rb
fb_graph-2.4.8 lib/fb_graph/privacy.rb
fb_graph-2.4.7 lib/fb_graph/privacy.rb
fb_graph-2.4.6 lib/fb_graph/privacy.rb
fb_graph-2.4.4 lib/fb_graph/privacy.rb
fb_graph-2.4.3 lib/fb_graph/privacy.rb
fb_graph-2.4.2 lib/fb_graph/privacy.rb
fb_graph-2.4.1 lib/fb_graph/privacy.rb
fb_graph-2.4.0 lib/fb_graph/privacy.rb
fb_graph-2.3.2 lib/fb_graph/privacy.rb
fb_graph-2.3.1 lib/fb_graph/privacy.rb
fb_graph-2.3.0 lib/fb_graph/privacy.rb
fb_graph-2.2.6 lib/fb_graph/privacy.rb