Method: FacebookAds::Edge.return_types
- Defined in:
- lib/facebook_ads/edge.rb
.return_types(action = nil, return_type = nil) ⇒ Object
TODO refactor?
171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/facebook_ads/edge.rb', line 171 def return_types(action = nil, return_type = nil) if action if return_type @return_types ||= {} @return_types[action] = FieldTypes.for(return_type) end @return_types[action] else @return_types end end |