Sha256: 89bfe74d46a43657471a76bc9735311181490e685ce553dcaa59df423f63718f
Contents?: true
Size: 870 Bytes
Versions: 1
Compression:
Stored size: 870 Bytes
Contents
# frozen_string_literal: true module NgrokAPI module Models class EndpointOAuthGitHub attr_reader :client, :attrs, :client_id, :client_secret, :scopes, :email_addresses, :email_domains, :teams, :organizations 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'] @teams = @attrs['teams'] @organizations = @attrs['organizations'] 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/endpoint_o_auth_git_hub.rb |