Class: GrapeTokenAuth::OmniAuthHTMLBase
- Inherits:
-
Object
- Object
- GrapeTokenAuth::OmniAuthHTMLBase
- Defined in:
- lib/grape_token_auth/omniauth/omniauth_html_base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#render_html ⇒ Object
7 8 9 10 11 12 |
# File 'lib/grape_token_auth/omniauth/omniauth_html_base.rb', line 7 def render_html unless respond_to?(:json_post_data) && respond_to?(:auth_origin_url) fail 'Invalid OmniAuthHTMLBase class' end template.result(binding) end |