Sha256: de8172ec390652bc71e81079aef8a7b536f8ffbad3af6547b1bb8bdbe85ebb0c

Contents?: true

Size: 202 Bytes

Versions: 6

Compression:

Stored size: 202 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
paysio-1.0.10 lib/paysio/actions/destroy.rb
paysio-1.0.9 lib/paysio/actions/destroy.rb
paysio-1.0.8 lib/paysio/actions/destroy.rb
paysio-1.0.7 lib/paysio/actions/destroy.rb
paysio-1.0.6 lib/paysio/actions/destroy.rb
paysio-1.0.5 lib/paysio/actions/destroy.rb