Sha256: ad98eabc0dccdb2a6726103dddcfabe358c5f82ad242f98e521efcff7d3b0ae6

Contents?: true

Size: 218 Bytes

Versions: 8

Compression:

Stored size: 218 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

8 entries across 8 versions & 1 rubygems

Version Path
chargify_api_ares-1.0.4 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.0.3 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.0.2 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.0.1 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-1.0.0 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-0.6.1 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-0.6.0 lib/chargify_api_ares/resources/webhook.rb
chargify_api_ares-0.5.4 lib/chargify_api_ares/resources/webhook.rb