Class: ArtRest::Build

Inherits:
Resources show all
Defined in:
lib/artrest/build.rb

Overview

Represents an Artifactory Build Runs resource.

Example

build = ArtRest::Build.new('http://localhost:8081/artifactory/api/build/wicket', { ... })

Class Method Summary collapse

Methods inherited from Resources

#each, resources_creator=

Methods inherited from Resource

#[], #base_url, check_options, #content, #content!, #content=, create, inherited, #initialize, mime_type=, resource_attributes, #unparsed_content

Constructor Details

This class inherits a constructor from ArtRest::Resource

Class Method Details

.matches_path(path, options) ⇒ Object

:nodoc:



16
17
18
# File 'lib/artrest/build.rb', line 16

def matches_path(path, options) # :nodoc:
    path =~ %r|^/api/build/[a-zA-Z+-._]+/?$|
end