36
37
38
39
40
41
42
43
44
45
46
|
# File 'lib/worldline/connect/sdk/v1/domain/browser_data.rb', line 36
def to_h
hash = super
hash['colorDepth'] = @color_depth unless @color_depth.nil?
hash['innerHeight'] = @inner_height unless @inner_height.nil?
hash['innerWidth'] = @inner_width unless @inner_width.nil?
hash['javaEnabled'] = @java_enabled unless @java_enabled.nil?
hash['javaScriptEnabled'] = @java_script_enabled unless @java_script_enabled.nil?
hash['screenHeight'] = @screen_height unless @screen_height.nil?
hash['screenWidth'] = @screen_width unless @screen_width.nil?
hash
end
|