Module: FbGraph::Connections::Declined
- Included in:
- Event
- Defined in:
- lib/fb_graph/connections/declined.rb
Instance Method Summary collapse
Instance Method Details
#declined(options = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/fb_graph/connections/declined.rb', line 4 def declined( = {}) members = FbGraph::Collection.new(get(.merge(:connection => 'declined'))) members.map! do |member| User.new(member.delete(:id), member) end end |
#declined!(options = {}) ⇒ Object
11 12 13 |
# File 'lib/fb_graph/connections/declined.rb', line 11 def declined!( = {}) post(.merge(:connection => 'declined')) end |