Module: TidaSinaWeibo

Defined in:
lib/tida_sina_weibo.rb,
lib/tida_sina_weibo/version.rb,
lib/tida_sina_weibo/exceptions.rb,
lib/tida_sina_weibo/api_wrapper.rb,
lib/tida_sina_weibo/rest_client_wrapper.rb,
lib/generators/tida_sina_weibo/install_generator.rb,
lib/tida_sina_weibo/auto_token_switch_api_wrapper.rb

Defined Under Namespace

Modules: Generators Classes: ApiWrapper, AutoTokenSwitchApiWrapper, Exception, IPAccessLimitException, InvalidAccessTokenException, NoAccessTokenAvaiableException, RestClientException, RestClientWrapper

Constant Summary collapse

VERSION =
"0.0.13"

Instance Method Summary collapse

Instance Method Details

#api_wrapper(tp) ⇒ Object



9
10
11
# File 'lib/tida_sina_weibo.rb', line 9

def api_wrapper(tp)
  ApiWrapper.new RestClientWrapper.new, tp
end