| Class | Facebooker::Page |
| In: |
lib/facebooker/models/page.rb
|
| Parent: | Object |
| page_id | -> | id |
| affiliation | [RW] | |
| artists_we_like | [RW] | |
| attire | [RW] | |
| awards | [RW] | |
| band_interests | [RW] | |
| band_members | [RW] | |
| bio | [RW] | |
| birthday | [RW] | |
| booking_agent | [RW] | |
| built | [RW] | |
| company_overview | [RW] | |
| culinary_team | [RW] | |
| current_location | [RW] | |
| directed_by | [RW] | |
| fan_count | [RW] | |
| features | [RW] | |
| founded | [RW] | |
| general_info | [RW] | |
| general_manager | [RW] | |
| genre | [RW] | |
| genre | [R] | |
| has_added_app | [RW] | |
| hometown | [RW] | |
| hours | [RW] | |
| influences | [RW] | |
| location | [RW] | |
| members | [RW] | |
| mission | [RW] | |
| mpg | [RW] | |
| name | [RW] | |
| network | [RW] | |
| page_id | [RW] | |
| page_url | [RW] | |
| parking | [RW] | |
| payment_options | [RW] | |
| personal_info | [RW] | |
| personal_interests | [RW] | |
| pic | [RW] | |
| pic_big | [RW] | |
| pic_large | [RW] | |
| pic_small | [RW] | |
| pic_square | [RW] | |
| plot_outline | [RW] | |
| price_range | [RW] | |
| produced_by | [RW] | |
| products | [RW] | |
| public_transit | [RW] | |
| record_label | [RW] | |
| release_date | [RW] | |
| restaurant_services | [RW] | |
| restaurant_specialties | [RW] | |
| schedule | [RW] | |
| screenplay_by | [RW] | |
| season | [RW] | |
| starring | [RW] | |
| studio | [RW] | |
| type | [RW] | |
| website | [RW] | |
| written_by | [RW] |
# File lib/facebooker/models/page.rb, line 5 def initialize(*args) if args.size == 1 and (args.first.is_a?(Integer) or args.first.is_a?(String)) self.page_id=args.first else super end end
# File lib/facebooker/models/page.rb, line 34 def genre=(value) @genre = value.kind_of?(Hash) ? Genre.from_hash(value) : value end
# File lib/facebooker/models/page.rb, line 38 def user_is_admin?(user) Session.current.post('facebook.pages.isAdmin', :page_id=>self.page_id, :uid=>Facebooker::User.cast_to_facebook_id(user)) end