Method: Facebooker::User.cast_to_facebook_id
- Defined in:
- lib/facebooker/models/user.rb
.cast_to_facebook_id(object) ⇒ Object
701 702 703 704 705 706 707 |
# File 'lib/facebooker/models/user.rb', line 701 def self.cast_to_facebook_id(object) if object.respond_to?(:facebook_id) object.facebook_id else object end end |