Sha256: f314d762f9212d6eb69799b015b488421731b739b3aadfa69f446f8fc37e97fa
Contents?: true
Size: 897 Bytes
Versions: 4
Compression:
Stored size: 897 Bytes
Contents
# frozen_string_literal: true # Code generated for API Clients. DO NOT EDIT. module NgrokAPI module Models class EndpointOAuthProvider attr_reader :client, :attrs, :github, :facebook, :microsoft, :google, :linkedin, :gitlab, :twitch, :amazon def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @github = @attrs['github'] @facebook = @attrs['facebook'] @microsoft = @attrs['microsoft'] @google = @attrs['google'] @linkedin = @attrs['linkedin'] @gitlab = @attrs['gitlab'] @twitch = @attrs['twitch'] @amazon = @attrs['amazon'] 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