Sha256: cb822abc33b9bf4abd8957dc3488af00945d550db78d5cd8b848147f269b0be5

Contents?: true

Size: 796 Bytes

Versions: 4

Compression:

Stored size: 796 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointOAuthAmazon
      attr_reader :client,
        :attrs,
        :client_id,
        :client_secret,
        :scopes,
        :email_addresses,
        :email_domains

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @client_id = @attrs['client_id']
        @client_secret = @attrs['client_secret']
        @scopes = @attrs['scopes']
        @email_addresses = @attrs['email_addresses']
        @email_domains = @attrs['email_domains']
      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/endpoint_o_auth_amazon.rb
ngrok-api-0.23.0 lib/ngrokapi/models/endpoint_o_auth_amazon.rb
ngrok-api-0.22.0 lib/ngrokapi/models/endpoint_o_auth_amazon.rb
ngrok-api-0.21.0 lib/ngrokapi/models/endpoint_o_auth_amazon.rb