Sha256: 23e20218b4f2a37761c80a8ef82a5970c97d886227e59d8403ce0943b10bab2d
Contents?: true
Size: 869 Bytes
Versions: 1
Compression:
Stored size: 869 Bytes
Contents
module QTest class Project < QTest::Base attr_accessor :id # Get a specific Release under the Project. # # @param opts [Hash] # @option id [Integer] id of the Release # @return [QTest::Release] def release(opts = {}) unique(QTest::Release, project: @id, id: opts[:id]) end # Get all Releases under the Project. # # @return [Array[QTest::Release]] def releases all(QTest::Release, project: @id) end # Get a specific Module under the Project. # # @param opts [Hash] # @option id [Integer] id of the Module # @return [QTest::Module] def module(opts = {}) unique(QTest::Module, project: @id, id: opts[:id]) end # Get all Releases under the Project. # # @return [Array[QTest::Module]] def modules all(QTest::Module, project: @id) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qtest-ruby-0.1.0 | lib/qtest/project.rb |