module FbGraph2::Edge::Translations
Public Instance Methods
translation!(params = {})
click to toggle source
# File lib/fb_graph2/edge/translations.rb, line 11 def translation!(params = {}) self.post params, edge: :translations end
Also aliased as: translate!
translations(params = {})
click to toggle source
# File lib/fb_graph2/edge/translations.rb, line 4 def translations(params = {}) translations = self.edge :translations, params translations.collect! do |translation| Translation.new(translation[:id], translation).authenticate self.authenticate end end