Sha256: 200075efbb3153a5f9d172107760511ff8f29cc53e228906948ff10b9492bed3

Contents?: true

Size: 472 Bytes

Versions: 5

Compression:

Stored size: 472 Bytes

Contents

# frozen_string_literal: true

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

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tikkie-api-0.2.2 lib/tikkie/api/client.rb
tikkie-api-0.2.1 lib/tikkie/api/client.rb
tikkie-api-0.2.0 lib/tikkie/api/client.rb
tikkie-api-0.1.1 lib/tikkie/api/client.rb
tikkie-api-0.1.0 lib/tikkie/api/client.rb