Sha256: 8bf13287dc3ddf994b1f90868ad6eb3bbb935f52666372643a9b84a6910e5d39

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

module QTest
  module REST
    module Project
      include QTest::REST::Utils

      # GET '/project/:id'
      def project(opts = {})
        query = QueryBuilder.new.project(opts[:id]).build
        get(query)
      end

      # GET '/projects'
      def projects(_opts = {})
        query = QueryBuilder.new.projects.build
        get(query)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qtest-ruby-0.1.0 lib/qtest/rest/project.rb