Sha256: 05a1afa8f36a1d8f40bd68974de46d4b4590bcd0eb63f5e3815be885588d5958

Contents?: true

Size: 475 Bytes

Versions: 3

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Clients
      class Projects < Base
        include Kentaa::Api::Clients::All

        def list(options = {})
          projects = Kentaa::Api::Resources::Projects.new(config, options)
          projects.load
        end

        def get(id, options = {})
          project = Kentaa::Api::Resources::Project.new(config, options.merge(id: id))
          project.load
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentaa-api-0.3.2 lib/kentaa/api/clients/projects.rb
kentaa-api-0.3.1 lib/kentaa/api/clients/projects.rb
kentaa-api-0.3.0 lib/kentaa/api/clients/projects.rb