class RaygunClient::HTTP::Post::Telemetry::Sink
Public Instance Methods
posted?(&blk)
click to toggle source
# File lib/raygun_client/http/post.rb, line 83 def posted?(&blk) if blk.nil? return recorded_posted? end recorded_posted? do |record| blk.call(record.data.data, record.data.response) end end
posts(&blk)
click to toggle source
# File lib/raygun_client/http/post.rb, line 73 def posts(&blk) if blk.nil? return posted_records end posted_records.select do |record| blk.call(record.data.data, record.data.response) end end