class RaygunClient::Data::ClientInfo

Public Class Methods

build() click to toggle source
# File lib/raygun_client/data/client_info.rb, line 16
def self.build
  instance = new

  instance.name = RaygunClient::ClientInfo.name
  instance.version = RaygunClient::ClientInfo.version
  instance.client_url = RaygunClient::ClientInfo.url

  instance
end

Public Instance Methods

==(other) click to toggle source
# File lib/raygun_client/data/client_info.rb, line 10
def ==(other)
  name == other.name &&
    version == other.version &&
    client_url == other.client_url
end