Sha256: bade7cba51df019fbaead39bb71b54457f94d92e2d8a2367384c8a3feb52eb1b
Contents?: true
Size: 766 Bytes
Versions: 1
Compression:
Stored size: 766 Bytes
Contents
# frozen_string_literal: true module NgrokAPI module Models class AbuseReport attr_reader :client, :attrs, :id, :uri, :created_at, :urls, :metadata, :status, :hostnames 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 def ==(other) @attrs == other.attrs end def to_s @attrs.to_s end def to_h @attrs.to_h end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ngrok-api-0.19.0 | lib/ngrokapi/models/abuse_report.rb |