Sha256: ebb4c99ad22fd8fdc2d430c14c2c3ebe09eb28e3c26c9296dda8fce45d7e069f
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true module NgrokAPI module Models class AbuseReportHostname attr_reader :client, :attrs, :hostname, :status def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @hostname = @attrs['hostname'] @status = @attrs['status'] 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_hostname.rb |