Sha256: a30f0666c0e1825cd65f35e4cec41fb738dec16fafc651a1a8df71a86b26e8a0
Contents?: true
Size: 411 Bytes
Versions: 2
Compression:
Stored size: 411 Bytes
Contents
class YouTrack::Client::Issues < YouTrack::Client::Collection model YouTrack::Client::Issue def all(project, filters={}) project_id = (project.respond_to?(:identity) ? project.identity : project) load(service.get_issues(project_id, filters).body) end def get(identity) service.issues.new( service.get_issue(identity).body ) rescue Faraday::ResourceNotFound nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
you_track-0.4.1 | lib/you_track/client/models/issues.rb |
you_track-0.4.0 | lib/you_track/client/models/issues.rb |