class Etwin::Oauth::OauthClientKey
A valid Eternal-Twin OAuth client key
Attributes
inner[R]
Public Class Methods
new(inner)
click to toggle source
# File lib/etwin/oauth/oauth_client_key.rb, line 21 def initialize(inner) @inner = T.let(inner.freeze, String) freeze end
Public Instance Methods
==(other)
click to toggle source
# File lib/etwin/oauth/oauth_client_key.rb, line 27 def ==(other) case other when OauthClientKey @inner == other.inner else false end end
as_json()
click to toggle source
# File lib/etwin/oauth/oauth_client_key.rb, line 47 def as_json @inner end
hash()
click to toggle source
# File lib/etwin/oauth/oauth_client_key.rb, line 37 def hash @inner.hash end
inspect()
click to toggle source
# File lib/etwin/oauth/oauth_client_key.rb, line 52 def inspect "OauthClientKey(#{@inner})" end
to_s()
click to toggle source
# File lib/etwin/oauth/oauth_client_key.rb, line 42 def to_s @inner end