module FacebookAds::NodeHasNoID
Public Class Methods
included(base)
click to toggle source
# File lib/facebook_ads/helpers/node_helpers.rb, line 51 def self.included(base) base.send(:include, NodeHasNoGet) base.instance_eval do def get(id, *args) raise '#get is not supported for this object' end end end
Public Instance Methods
get(id, *args)
click to toggle source
# File lib/facebook_ads/helpers/node_helpers.rb, line 54 def get(id, *args) raise '#get is not supported for this object' end
id()
click to toggle source
# File lib/facebook_ads/helpers/node_helpers.rb, line 60 def id raise 'This node has no id' end