Sha256: 931912f81982b860646ee3a01bbb3b140bf6b6b79a5fac2bb716365490066847

Contents?: true

Size: 203 Bytes

Versions: 3

Compression:

Stored size: 203 Bytes

Contents

module Paysio
  module Actions
    module Destroy
      def destroy(attrs = {})
        response = Paysio::Client.request(:delete, path)
        refresh_from(response.to_hash)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
paysio-1.0.4 lib/paysio/actions/destroy.rb
paysio-1.0.3 lib/paysio/actions/destroy.rb
paysio-1.0.2 lib/paysio/actions/destroy.rb