Sha256: 26922e4a4fac2de76faf45b3626ccce4b32f59673ab47e5c61a9dbcca5b7d076
Contents?: true
Size: 831 Bytes
Versions: 6
Compression:
Stored size: 831 Bytes
Contents
# frozen_string_literal: true module NgrokAPI module Models class EndpointOAuthGitHub attr_reader :client, :result, :client_id, :client_secret, :scopes, :email_addresses, :email_domains, :teams, :organizations def initialize(client:, result:) @client = client @result = result @client_id = @result['client_id'] @client_secret = @result['client_secret'] @scopes = @result['scopes'] @email_addresses = @result['email_addresses'] @email_domains = @result['email_domains'] @teams = @result['teams'] @organizations = @result['organizations'] 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