Class: Spear::Plugins::SaveApis::AsyncSaveApi
- Inherits:
-
Object
- Object
- Spear::Plugins::SaveApis::AsyncSaveApi
- Includes:
- HTTParty, SuckerPunch::Job
- Defined in:
- lib/spear/plugins/save_apis.rb
Instance Method Summary collapse
Instance Method Details
#perform(options = {}) ⇒ Object
48 49 50 51 52 53 54 |
# File 'lib/spear/plugins/save_apis.rb', line 48 def perform(={}) self.class.post( 'http://eventlogs.cb-apac.com/api/1/api-info', body: .to_json, options: {headers: {'Content-Type' => 'application/json'}} ) end |