Class: Weibo::Api::V2::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/weibo_focus/api/v2/account.rb

Instance Method Summary collapse

Methods inherited from Base

#hashie, #initialize

Constructor Details

This class inherits a constructor from Weibo::Api::V2::Base

Instance Method Details

#end_session(opt = {}) ⇒ Object

write interfaces



24
25
26
# File 'lib/weibo_focus/api/v2/account.rb', line 24

def end_session(opt={})
  hashie get("account/end_session.json", :params => opt)
end

#get_privacy(opt = {}) ⇒ Object

read interfaces



7
8
9
# File 'lib/weibo_focus/api/v2/account.rb', line 7

def get_privacy(opt={})
  hashie get("account/get_privacy.json", :params => opt)
end

#get_uid(opt = {}) ⇒ Object



19
20
21
# File 'lib/weibo_focus/api/v2/account.rb', line 19

def get_uid(opt={})
  hashie get("account/get_uid.json", :params => opt)
end

#profile_school_list(opt = {}) ⇒ Object



11
12
13
# File 'lib/weibo_focus/api/v2/account.rb', line 11

def profile_school_list(opt={})
  hashie get("account/profile/school_list.json", :params => opt)
end

#rate_limit_status(opt = {}) ⇒ Object



15
16
17
# File 'lib/weibo_focus/api/v2/account.rb', line 15

def rate_limit_status(opt={})
  hashie get("account/rate_limit_status.json", :params => opt)
end