Sha256: ea5c07411a6a3b5a3229895e51d9bfc08c07638c18a83fb2df5697127c717513

Contents?: true

Size: 352 Bytes

Versions: 18

Compression:

Stored size: 352 Bytes

Contents

require "forwardable"
require_relative "plural_resource"

module Clerk
  module Resources
    class PhoneNumbers
      extend Forwardable

      def initialize(client)
        @client = client
        @resource = PluralResource.new(client, "phone_numbers")
      end

      def_delegators :@resource, :find, :create, :update, :delete
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
clerk-sdk-ruby-3.3.0 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-3.3.0.beta1 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-3.2.0 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-4.0.0.beta3 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-3.1.0 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-3.1.0.rc.1 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-4.0.0.beta2 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-3.0.0 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.11.1 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.11.0 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.10.0 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.10.0.beta2 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.10.0.beta1 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.9.0 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.9.0.beta3 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.9.0.beta2 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.9.0.beta1 lib/clerk/resources/phone_numbers.rb
clerk-sdk-ruby-2.8.0 lib/clerk/resources/phone_numbers.rb