Class: ArtRest::Buildnumber

Inherits:
Resource
  • Object
show all
Defined in:
lib/artrest/buildnumber.rb

Overview

Represents an Artifactory Build Info resource.

Example

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

Class Method Summary collapse

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/buildnumber.rb', line 16

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