Sha256: 6a207ba43f09d11236f7e8ab77fd8d8e22013cd9275adc44ad0bd46bf88231ef

Contents?: true

Size: 258 Bytes

Versions: 9

Compression:

Stored size: 258 Bytes

Contents

module Cobrato
  module Resources
    class ChargeConfig < Base
      crud :all

      def deactivate(id)
        http.post("#{resource_base_path}/#{id}/deactivate") do |response|
          respond_with_entity response
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cobrato-client-1.1.7 lib/cobrato/resources/charge_config.rb
cobrato-client-1.1.6 lib/cobrato/resources/charge_config.rb
cobrato-client-1.1.5 lib/cobrato/resources/charge_config.rb
cobrato-client-1.1.4 lib/cobrato/resources/charge_config.rb
cobrato-client-1.1.3 lib/cobrato/resources/charge_config.rb
cobrato-client-1.1.2 lib/cobrato/resources/charge_config.rb
cobrato-client-1.1.1 lib/cobrato/resources/charge_config.rb
cobrato-client-1.1.0 lib/cobrato/resources/charge_config.rb
cobrato-client-1.0.1 lib/cobrato/resources/charge_config.rb