diff --git a/.travis.yml b/.travis.yml index 3fc6ebc..2abcd8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,3 @@ rvm: + - 2.0.0 - 2.1.2 \ No newline at end of file diff --git a/lib/fb_graph2/node.rb b/lib/fb_graph2/node.rb index f0bcbc2..afb99e1 100644 --- a/lib/fb_graph2/node.rb +++ b/lib/fb_graph2/node.rb @@ -3,7 +3,7 @@ module FbGraph2 attr_accessor :id, :access_token, :raw_attributes def self.inherited(klass) - klass.include AttributeAssigner + klass.send :include, AttributeAssigner FbGraph2.object_classes << klass end diff --git a/lib/fb_graph2/struct.rb b/lib/fb_graph2/struct.rb index fb517c2..fff8515 100644 --- a/lib/fb_graph2/struct.rb +++ b/lib/fb_graph2/struct.rb @@ -1,7 +1,7 @@ module FbGraph2 class Struct def self.inherited(klass) - klass.include AttributeAssigner + klass.send :include, AttributeAssigner end def initialize(attributes = {})