Sha256: a52b38b487c6e5ec493a704d0f41745c5591ba0e1a326e674e29c50390a245f5

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

module Monday
  module Resources
    # Base class for all resources.
    class Base
      attr_reader :client

      def initialize(client)
        @client = client
      end

      protected

      def make_request(query)
        client.make_request(query)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
monday_ruby-1.0.0 lib/monday/resources/base.rb