Sha256: da653605d13857cb452bdeac3e349e66c10ce894feaa29d052d666d2693065a9

Contents?: true

Size: 568 Bytes

Versions: 4

Compression:

Stored size: 568 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

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

4 entries across 4 versions & 1 rubygems

Version Path
ngrok-api-0.24.0 lib/ngrokapi/models/abuse_report_hostname.rb
ngrok-api-0.23.0 lib/ngrokapi/models/abuse_report_hostname.rb
ngrok-api-0.22.0 lib/ngrokapi/models/abuse_report_hostname.rb
ngrok-api-0.21.0 lib/ngrokapi/models/abuse_report_hostname.rb