Sha256: f462a18a33399a8524d9b1ed82b3371de17e5e31e203b69ae709d84481740ab6

Contents?: true

Size: 826 Bytes

Versions: 5

Compression:

Stored size: 826 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    class Client
      def initialize(config)
        @config = config
      end

      def actions
        Kentaa::Api::Clients::Actions.new(@config)
      end

      def donations
        Kentaa::Api::Clients::Donations.new(@config)
      end

      def newsletter_subscriptions
        Kentaa::Api::Clients::NewsletterSubscriptions.new(@config)
      end

      def projects
        Kentaa::Api::Clients::Projects.new(@config)
      end

      def segments
        Kentaa::Api::Clients::Segments.new(@config)
      end

      def sites
        Kentaa::Api::Clients::Sites.new(@config)
      end

      def teams
        Kentaa::Api::Clients::Teams.new(@config)
      end

      def users
        Kentaa::Api::Clients::Users.new(@config)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kentaa-api-0.3.2 lib/kentaa/api/client.rb
kentaa-api-0.3.1 lib/kentaa/api/client.rb
kentaa-api-0.3.0 lib/kentaa/api/client.rb
kentaa-api-0.2.1 lib/kentaa/api/client.rb
kentaa-api-0.2.0 lib/kentaa/api/client.rb