Module: FbGraph::Connections::Noreply
- Included in:
- Event
- Defined in:
- lib/fb_graph/connections/noreply.rb
Instance Method Summary (collapse)
- - (Object) noreply(options = {}) (also: #no_reply)
- - (Boolean) noreply?(user, options = {}) (also: #no_reply?)
Instance Method Details
- (Object) noreply(options = {}) Also known as: no_reply
4 5 6 7 8 9 10 11 |
# File 'lib/fb_graph/connections/noreply.rb', line 4 def noreply( = {}) members = self.connection :noreply, members.map! do |member| User.new member[:id], member.merge( :access_token => [:access_token] || self.access_token ) end end |
- (Boolean) noreply?(user, options = {}) Also known as: no_reply?
14 15 16 17 18 19 |
# File 'lib/fb_graph/connections/noreply.rb', line 14 def noreply?(user, = {}) member = self.connection( :noreply, .merge(:connection_scope => user.identifier) ).first member.present? end |