Class: Renren2::Interface::Checkins
- Defined in:
- lib/renren2/interface/checkins.rb
Overview
Checkins Interface
Instance Method Summary collapse
Methods inherited from Base
#check_scope, #get, #initialize, #post, #request
Constructor Details
This class inherits a constructor from Renren2::Interface::Base
Instance Method Details
#checkin(place_id, opts = {}) ⇒ Object
Note:
require “publish_checkin” scope
签到
20 21 22 23 |
# File 'lib/renren2/interface/checkins.rb', line 20 def checkin(place_id, opts={}) check_scope "publish_checkin" post 'checkins.checkin', :body => {:place_id => place_id}.merge(opts) end |