Class: DiandianOAuth::API
- Inherits:
-
Object
- Object
- DiandianOAuth::API
- Includes:
- Interface
- Defined in:
- lib/diandian_oauth/api.rb,
lib/diandian_oauth/api/interface.rb
Defined Under Namespace
Modules: Interface
Constant Summary collapse
- HOST =
'api.diandian.com'
- VERSION =
'v1'
Instance Method Summary collapse
Methods included from Interface
Instance Method Details
#authorize_url ⇒ Object
8 9 10 |
# File 'lib/diandian_oauth/api.rb', line 8 def 'https://api.diandian.com/oauth/authorize' end |
#token_url ⇒ Object
12 13 14 |
# File 'lib/diandian_oauth/api.rb', line 12 def token_url 'https://api.diandian.com/oauth/token' end |