Class: Core::Decorators::Application
- Defined in:
- lib/core/decorators/application.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#has_secret?(secret) ⇒ Boolean
12 13 14 |
# File 'lib/core/decorators/application.rb', line 12 def has_secret?(secret) object.client_secret == secret end |
#to_h ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/core/decorators/application.rb', line 4 def to_h { client_id: client_id, name: name, premium: premium } end |