Sha256: a3eb8f238b171f79bdb0014e410fb1fbb8c2444bcd5268941fdbd2b720ec4201

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

module Tikkie
  module Api
    module V1
      # Tikkie API client.
      class Client
        def initialize(config)
          @request = Tikkie::Api::V1::Request.new(config)
        end

        def platforms
          Tikkie::Api::V1::Requests::Platforms.new(@request)
        end

        def users
          Tikkie::Api::V1::Requests::Users.new(@request)
        end

        def payment_requests
          Tikkie::Api::V1::Requests::PaymentRequests.new(@request)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tikkie-api-2.0.0 lib/tikkie/api/v1/client.rb