Sha256: 97b05193ce3bdec51961af8ca0f0ce89f780ef220f78d039200d32e6bcf04dfb

Contents?: true

Size: 389 Bytes

Versions: 46

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

module Stripe
  class LoginLink < APIResource
    OBJECT_NAME = "login_link"

    def self.retrieve(_id, _opts = nil)
      raise NotImplementedError,
            "Login links do not have IDs and cannot be retrieved. They can " \
            "only be created using `Account.create_login_link('account_id', " \
            "create_params)`"
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
stripe-5.37.0 lib/stripe/resources/login_link.rb
stripe-5.36.0 lib/stripe/resources/login_link.rb
stripe-5.35.0 lib/stripe/resources/login_link.rb
stripe-5.34.0 lib/stripe/resources/login_link.rb
stripe-5.33.0 lib/stripe/resources/login_link.rb
stripe-5.32.1 lib/stripe/resources/login_link.rb
stripe-5.32.0 lib/stripe/resources/login_link.rb
stripe-5.31.0 lib/stripe/resources/login_link.rb
stripe-5.30.0 lib/stripe/resources/login_link.rb
stripe-5.29.1 lib/stripe/resources/login_link.rb
stripe-5.29.0 lib/stripe/resources/login_link.rb
stripe-5.28.0 lib/stripe/resources/login_link.rb
stripe-5.27.0 lib/stripe/resources/login_link.rb
stripe-5.26.0 lib/stripe/resources/login_link.rb
stripe-5.25.0 lib/stripe/resources/login_link.rb
stripe-5.24.0 lib/stripe/resources/login_link.rb
stripe-5.23.1 lib/stripe/resources/login_link.rb
stripe-5.23.0 lib/stripe/resources/login_link.rb
stripe-5.22.0 lib/stripe/resources/login_link.rb
stripe-5.21.0 lib/stripe/resources/login_link.rb