Sha256: 5e6672ff1955c4dc02bedef8e246e8896ef6111b256a8316f17afa8599968fcd
Contents?: true
Size: 727 Bytes
Versions: 6
Compression:
Stored size: 727 Bytes
Contents
# frozen_string_literal: true module NgrokAPI module Models class AbuseReport attr_reader :client, :result, :id, :uri, :created_at, :urls, :metadata, :status, :hostnames def initialize(client:, result:) @client = client @result = result @id = @result['id'] @uri = @result['uri'] @created_at = @result['created_at'] @urls = @result['urls'] @metadata = @result['metadata'] @status = @result['status'] @hostnames = @result['hostnames'] end def ==(other) @result == other.result end def to_s @result.to_s end end end end
Version data entries
6 entries across 6 versions & 1 rubygems