Class: OmniAuth::Strategies::Standalone::Form
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::Standalone::Form
- Defined in:
- lib/omniauth/strategies/standalone/form.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(fields, callback_path) ⇒ Form
constructor
A new instance of Form.
- #render ⇒ Object
Constructor Details
#initialize(fields, callback_path) ⇒ Form
Returns a new instance of Form.
7 8 9 10 |
# File 'lib/omniauth/strategies/standalone/form.rb', line 7 def initialize(fields, callback_path) @fields = fields @callback_path = callback_path end |
Instance Method Details
#render ⇒ Object
12 13 14 15 16 17 |
# File 'lib/omniauth/strategies/standalone/form.rb', line 12 def render add_fields_to_form add_opposite_auth_link to_html end |