Module: FbPageApi
- Extended by:
- FbPageApi
- Included in:
- FbPageApi
- Defined in:
- lib/fb_page_api.rb,
lib/fb_page_api/config.rb,
lib/fb_page_api/version.rb,
lib/fb_page_api/edge/base.rb,
lib/fb_page_api/edge/user.rb,
lib/fb_page_api/edge/message.rb,
lib/fb_page_api/edge/admin_note.rb,
lib/fb_page_api/edge/label_user.rb,
lib/fb_page_api/edge/admin_label.rb,
lib/fb_page_api/edge/conversation.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.0.10"
Instance Method Summary collapse
- #admin_notes(options = {}) ⇒ Object
- #configure {|FbPageApi::Config| ... } ⇒ Object
- #conversations(options = {}) ⇒ Object
- #label_users(label_id, options = {}) ⇒ Object
- #labels(options = {}) ⇒ Object
- #messages(conversation_id, options = {}) ⇒ Object
- #users(options = {}) ⇒ Object
Instance Method Details
#admin_notes(options = {}) ⇒ Object
18 19 20 |
# File 'lib/fb_page_api.rb', line 18 def admin_notes( = {}) FbPageApi::Edge::AdminNote.new() end |
#configure {|FbPageApi::Config| ... } ⇒ Object
9 10 11 12 |
# File 'lib/fb_page_api.rb', line 9 def configure yield(FbPageApi::Config) if block_given? FbPageApi::Config end |
#conversations(options = {}) ⇒ Object
22 23 24 |
# File 'lib/fb_page_api.rb', line 22 def conversations( = {}) FbPageApi::Edge::Conversation.new() end |
#label_users(label_id, options = {}) ⇒ Object
34 35 36 |
# File 'lib/fb_page_api.rb', line 34 def label_users(label_id, = {}) FbPageApi::Edge::LabelUser.new(.merge({ parent_id: label_id })) end |
#labels(options = {}) ⇒ Object
14 15 16 |
# File 'lib/fb_page_api.rb', line 14 def labels( = {}) FbPageApi::Edge::AdminLabel.new() end |