Class: OmniAuth::Strategies::GalvanizeDeveloper
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::GalvanizeDeveloper
- Includes:
- OmniAuth::Strategy
- Defined in:
- lib/omniauth/strategies/galvanize_developer.rb
Instance Method Summary collapse
Instance Method Details
#request_phase ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/omniauth/strategies/galvanize_developer.rb', line 14 def request_phase form = OmniAuth::Form.new(:title => 'User Info', :url => callback_path) .fields.each do |field| form.text_field field.to_s.capitalize.gsub('_', ' '), field.to_s end form. 'Sign In' form.to_response end |