Class: RaygunClient::Data::ClientInfo

Inherits:
Object
  • Object
show all
Includes:
Schema::DataStructure
Defined in:
lib/raygun_client/data/client_info.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.buildObject



16
17
18
19
20
21
22
23
24
# 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

Instance Method Details

#==(other) ⇒ Object



10
11
12
13
14
# File 'lib/raygun_client/data/client_info.rb', line 10

def ==(other)
  name == other.name &&
    version == other.version &&
    client_url == other.client_url
end