lib/fb_graph2/achievement.rb in fb_graph2-0.0.4 vs lib/fb_graph2/achievement.rb in fb_graph2-0.0.5

- old
+ new

@@ -11,9 +11,11 @@ custom: [:data] ) def initialize(id, attributes = {}) super - # TODO: handle custom attributes. + if attributes.include? :data + self.data = attributes[:data] + end end end end \ No newline at end of file