Sha256: d532f88a34bb3f6fa4aba2d55b563e158daeca23488e4e2c25690c36063694bd
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
module Screenbeacon class Project < APIResource include Screenbeacon::APIOperations::Create include Screenbeacon::APIOperations::Update include Screenbeacon::APIOperations::Delete include Screenbeacon::APIOperations::List def alerts Alert.all({ :project_id => id }, @opts) end def resolve_all(opts={}) response, opts = request(:patch, resolve_url, {}, opts) refresh_from(response, opts) end private def resolve_all_url url + '/resolve_all' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
screenbeacon-1.0.1 | lib/screenbeacon/project.rb |
screenbeacon-1.0.0 | lib/screenbeacon/project.rb |