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.4.15 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.14 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.13 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.11 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.10 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.7 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.6 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.5 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.4 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.3 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.2 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.1 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.4.0 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.3.5 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.3.4 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.3.3 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.3.2 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.3.1 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.3.0 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.2.1 lib/chargify_api_ares/resources/webhook.rb