Sha256: cb5bcaf6c2cc1676e49d6f98fb957d5a06b1d9182e0e975f4dd51129ac58c7d0

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

module AuthlogicConnect::Oauth
  module Helper
    def oauth_register_button(options = {})
      oauth_button('register_with_oauth', options)
    end
    
    def oauth_login_button(options = {})
      oauth_button('login_with_oauth', options)
    end
  
  private
    def oauth_button(name, options = {})
      "<input type='submit' value='#{options[:value]}' name='#{name}' id='user_submit' class='#{options[:class]}'/>"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
authlogic-connect-0.0.3.4 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.3.3 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.3.2 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.2 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.1 lib/authlogic_connect/oauth/helper.rb