Method: Facebooker::User#convert_attachment_to_json
- Defined in:
- lib/facebooker/models/user.rb
#convert_attachment_to_json(attachment) ⇒ Object
172 173 174 175 |
# File 'lib/facebooker/models/user.rb', line 172 def () a = .respond_to?(:to_hash) ? .to_hash : Facebooker.json_encode(a) end |