class RaygunClient::HTTP::Post::Substitute::Post

Attributes

sink[RW]

Public Instance Methods

http_post(_) click to toggle source
# File lib/raygun_client/http/post.rb, line 114
def http_post(_)
end
posted?(data=nil, &block) click to toggle source
# File lib/raygun_client/http/post.rb, line 117
def posted?(data=nil, &block)
  unless data.nil?
    block ||= proc { |posted_data|
      data == posted_data
    }
  end

  sink.posted?(&block)
end