Sha256: 940aff280f9a06c3d77996b896b168fc5b88af7c537102996d910727208665c3
Contents?: true
Size: 635 Bytes
Versions: 1
Compression:
Stored size: 635 Bytes
Contents
# frozen_string_literal: true module NgrokAPI module Models class EndpointOAuthProvider attr_reader :client, :attrs, :github, :facebook, :microsoft, :google def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @github = @attrs['github'] @facebook = @attrs['facebook'] @microsoft = @attrs['microsoft'] @google = @attrs['google'] 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_provider.rb |