Sha256: 6a1c3c876c4027affe839fb879d8face4cffae50dd3d37ae709dc6a2dbbf0981

Contents?: true

Size: 454 Bytes

Versions: 13

Compression:

Stored size: 454 Bytes

Contents

module FbGraph2
  class Edge < Collection
    attr_accessor :owner, :edge, :params, :options, :collection

    def initialize(owner, edge, params = {}, options = {})
      self.owner = owner
      self.edge = edge
      self.params = params
      self.options = options
      self.collection = options.delete(:collection) || Collection.new
      replace collection
    end
  end
end

Dir[File.join(__dir__, 'edge/*.rb')].each do |file|
  require file
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fb_graph2-0.1.0 lib/fb_graph2/edge.rb
fb_graph2-0.0.11 lib/fb_graph2/edge.rb
fb_graph2-0.0.10 lib/fb_graph2/edge.rb
fb_graph2-0.0.9 lib/fb_graph2/edge.rb
fb_graph2-0.0.8 lib/fb_graph2/edge.rb
fb_graph2-0.0.7 lib/fb_graph2/edge.rb
fb_graph2-0.0.6 lib/fb_graph2/edge.rb
fb_graph2-0.0.5 lib/fb_graph2/edge.rb
fb_graph2-0.0.4 lib/fb_graph2/edge.rb
fb_graph2-0.0.3 lib/fb_graph2/edge.rb
fb_graph2-0.0.2 lib/fb_graph2/edge.rb
fb_graph2-0.0.1 lib/fb_graph2/edge.rb
fb_graph2-0.0.0 lib/fb_graph2/edge.rb