class NgrokAPI::Models::AbuseReport
Attributes
attrs[R]
client[R]
created_at[R]
hostnames[R]
id[R]
metadata[R]
status[R]
uri[R]
urls[R]
Public Class Methods
new(client: nil, attrs: {})
click to toggle source
# File lib/ngrokapi/models/abuse_report.rb, line 16 def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @id = @attrs['id'] @uri = @attrs['uri'] @created_at = @attrs['created_at'] @urls = @attrs['urls'] @metadata = @attrs['metadata'] @status = @attrs['status'] @hostnames = @attrs['hostnames'] end
Public Instance Methods
==(other)
click to toggle source
# File lib/ngrokapi/models/abuse_report.rb, line 28 def ==(other) @attrs == other.attrs end
to_h()
click to toggle source
# File lib/ngrokapi/models/abuse_report.rb, line 36 def to_h @attrs.to_h end
to_s()
click to toggle source
# File lib/ngrokapi/models/abuse_report.rb, line 32 def to_s @attrs.to_s end