Sha256: 332c5e8742c4f53047d355d9c8fd2a346066503ebef073eff0ec98cda6d0e4d9
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true module Kentaa module Api module Requests class Projects < Base include Kentaa::Api::Requests::All def list(options = {}) response = request.get("/projects", options) Kentaa::Api::Responses::Projects.new(response) end def get(id) response = request.get("/projects/#{id}") Kentaa::Api::Responses::Project.new(response) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kentaa-api-0.1.1 | lib/kentaa/api/requests/projects.rb |