Module: Mercadolibre::Core::Apps
- Included in:
- Api
- Defined in:
- lib/mercadolibre/core/apps.rb
Instance Method Summary collapse
- #get_application_feeds ⇒ Object
- #get_application_info ⇒ Object
- #revoke_application_permissions(user_id, application_id) ⇒ Object
Instance Method Details
#get_application_feeds ⇒ Object
12 13 14 |
# File 'lib/mercadolibre/core/apps.rb', line 12 def get_application_feeds get_request("/users/#{user_id}/applications/#{@app_key}", { access_token: @access_token }).body end |
#get_application_info ⇒ Object
4 5 6 |
# File 'lib/mercadolibre/core/apps.rb', line 4 def get_application_info get_request("/applications/#{@app_key}", { access_token: @access_token }).body end |
#revoke_application_permissions(user_id, application_id) ⇒ Object
8 9 10 |
# File 'lib/mercadolibre/core/apps.rb', line 8 def (user_id, application_id) delete_request("/users/#{user_id}/applications/#{app_id}?access_token=#{@access_token}").body end |