Sha256: 7ad44844c3ff56b6554b2680abc3101566a532215bc1a4e54ea377e12be201de

Contents?: true

Size: 516 Bytes

Versions: 4

Compression:

Stored size: 516 Bytes

Contents

module CandyCheck
  module PlayStore
    class Acknowledger
      def initialize(authorization:)
        @authorization = authorization
      end

      def acknowledge_product_purchase(package_name:, product_id:, token:)
        acknowledger = CandyCheck::PlayStore::ProductAcknowledgements::Acknowledgement.new(
          package_name: package_name,
          product_id: product_id,
          token: token,
          authorization: @authorization,
        )
        acknowledger.call!
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
candy_check-0.6.0 lib/candy_check/play_store/acknowledger.rb
candy_check-0.5.0 lib/candy_check/play_store/acknowledger.rb
candy_check-0.4.0 lib/candy_check/play_store/acknowledger.rb
candy_check-0.3.0 lib/candy_check/play_store/acknowledger.rb