Class: GoApiClient::Parsers::Helper
- Inherits:
-
Object
- Object
- GoApiClient::Parsers::Helper
- Defined in:
- lib/go_api_client/parsers/parser_helper.rb
Direct Known Subclasses
Config::Job, Config::Pipeline, Config::Stage, Entry, Feed, Job, Pipeline, Project, ScheduledJob, Stage
Class Method Summary collapse
Class Method Details
.href_from(xml) ⇒ Object
5 6 7 |
# File 'lib/go_api_client/parsers/parser_helper.rb', line 5 def href_from(xml) xml.first.attribute('href').value unless xml.empty? end |