Sha256: 81eaa4eda37da9b0f8269e5ddec311e22ae79995be9bac377686bcda7802cb24

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module Lokalise
  module Resources
    class PaymentCard < Base
      ID_KEY = 'card_id'
      supports :destroy, [:reload_data, '', :find]

      class << self
        def endpoint(card_id = nil)
          path_from payment_cards: card_id
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lokalise-api-5.0.0 lib/ruby-lokalise-api/resources/payment_card.rb
ruby-lokalise-api-4.5.1 lib/ruby-lokalise-api/resources/payment_card.rb
ruby-lokalise-api-4.5.0 lib/ruby-lokalise-api/resources/payment_card.rb