class Spear::Plugins::SaveApis::AsyncSaveApi

Public Instance Methods

perform(options={}) click to toggle source
# File lib/spear/plugins/save_apis.rb, line 48
def perform(options={})
  self.class.post(
    'http://eventlogs.cb-apac.com/api/1/api-info',
    body: options.to_json,
    options: {headers: {'Content-Type' => 'application/json'}}
  )
end