Sha256: 9bd70ae7ae29459849a43274e0753083672f2e095ea6c44f4ec7409d27b3d823

Contents?: true

Size: 220 Bytes

Versions: 23

Compression:

Stored size: 220 Bytes

Contents

module Chargify
  class Webhook < Base

    def self.replay(webhook_ids_array)
      post :replay, {}, webhook_ids_array.to_xml(:root => :ids)
    end

    def replay
      self.class.replay([self.id])
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
chargify_api_ares-1.1.0 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.1.0.pre lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.0.5 lib/chargify_api_ares/resources/webhook.rb