Module: Kuaipan::OpenAPI
- Defined in:
- lib/kuaipan.rb
Instance Method Summary collapse
- #g_session(opt = {}) ⇒ Object
- #g_session_skip_oauth(oauth_token, oauth_token_secret, user_id, opts = {}) ⇒ Object
- #input_config(consumer_token, consumer_secret, p = {}) ⇒ Object
Instance Method Details
#g_session(opt = {}) ⇒ Object
21 22 23 |
# File 'lib/kuaipan.rb', line 21 def g_session(opt={}) Kuaipan::Session.new(opt) end |
#g_session_skip_oauth(oauth_token, oauth_token_secret, user_id, opts = {}) ⇒ Object
25 26 27 |
# File 'lib/kuaipan.rb', line 25 def g_session_skip_oauth(oauth_token, oauth_token_secret, user_id, opts={}) Kuaipan::Session.skip_oauth_session(oauth_token, oauth_token_secret, user_id, opts={}) end |