Sha256: 70ab62e93987ac5ec0b60eda18847784df44f31180eb9d283ce9735c452c6a07

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

module Espago
  class ApiConnection
    class CompletePost < ApiPost
      def initialize(connection)
        warn "[DEPRECATION] `complete` is deprecated.  Please use `charges_complete` instead."
        super(connection)
      end

      def request(params = {})
        super("charges/#{params[:charge_id]}/complete")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
espago-0.1.11 lib/espago/api_connection/complete_post.rb
espago-0.1.10 lib/espago/api_connection/complete_post.rb
espago-0.1.9 lib/espago/api_connection/complete_post.rb
espago-0.1.8 lib/espago/api_connection/complete_post.rb
espago-0.1.2 lib/espago/api_connection/complete_post.rb