Sha256: fe39396879c35d8fc9f8ba0b3105280a3d78590903005937df34734537880b4f

Contents?: true

Size: 334 Bytes

Versions: 7

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module RubyLokaliseApi
  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

7 entries across 7 versions & 1 rubygems

Version Path
ruby-lokalise-api-7.2.0 lib/ruby_lokalise_api/resources/payment_card.rb
ruby-lokalise-api-7.1.1 lib/ruby_lokalise_api/resources/payment_card.rb
ruby-lokalise-api-7.1.0 lib/ruby_lokalise_api/resources/payment_card.rb
ruby-lokalise-api-7.0.0 lib/ruby_lokalise_api/resources/payment_card.rb
ruby-lokalise-api-6.2.0 lib/ruby_lokalise_api/resources/payment_card.rb
ruby-lokalise-api-6.1.0 lib/ruby_lokalise_api/resources/payment_card.rb
ruby-lokalise-api-6.0.0 lib/ruby_lokalise_api/resources/payment_card.rb