Sha256: e8bb2fc6cbfe23a97f6457f84142a95b888f9b96ae5aface75744955b80e7f3f

Contents?: true

Size: 457 Bytes

Versions: 3

Compression:

Stored size: 457 Bytes

Contents

# frozen_string_literal: true

module Flinks
  module API
    module Refresh

      # @see https://sandbox-api.flinks.io/Readme/#scheduling-background-refresh
      # @param [Boolean] activated
      # @param [String] login_id
      # @return [Hash]
      def set_scheduled_refresh(activated, login_id:)
        patch("#{customer_id}/BankingServices/SetScheduledRefresh", params: { login_id: login_id, is_activated: activated })
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flinks-0.5.2 lib/flinks/api/refresh.rb
flinks-0.5.1 lib/flinks/api/refresh.rb
flinks-0.5.0 lib/flinks/api/refresh.rb