Module: QboButtons::LinkHelper
- Defined in:
- app/helpers/qbo_buttons/link_helper.rb
Instance Method Summary collapse
- #intuit_sign_in_button(href, size: 'med', color: 'white', options: false) ⇒ Object
- #intuit_sign_in_image_tag(size: 'med', color: 'white', options: false) ⇒ Object
- #qbo_connect_button(href, size: 'med', color: 'white', options: false) ⇒ Object
- #qbo_connect_image_tag(size: 'med', color: 'white', options: false) ⇒ Object
Instance Method Details
#intuit_sign_in_button(href, size: 'med', color: 'white', options: false) ⇒ Object
19 20 21 22 |
# File 'app/helpers/qbo_buttons/link_helper.rb', line 19 def (href, size: 'med', color: 'white', options: false) = QboButtons::Builder.new(size: size, color: color, options: , type: :sign_in) .render(href) end |
#intuit_sign_in_image_tag(size: 'med', color: 'white', options: false) ⇒ Object
14 15 16 17 |
# File 'app/helpers/qbo_buttons/link_helper.rb', line 14 def intuit_sign_in_image_tag(size: 'med', color: 'white', options: false) = QboButtons::Builder.new(size: size, color: color, options: , type: :sign_in) .display end |
#qbo_connect_button(href, size: 'med', color: 'white', options: false) ⇒ Object
4 5 6 7 |
# File 'app/helpers/qbo_buttons/link_helper.rb', line 4 def (href, size: 'med', color: 'white', options: false) = QboButtons::Builder.new(size: size, color: color, options: , type: :connect) .render(href) end |
#qbo_connect_image_tag(size: 'med', color: 'white', options: false) ⇒ Object
9 10 11 12 |
# File 'app/helpers/qbo_buttons/link_helper.rb', line 9 def qbo_connect_image_tag(size: 'med', color: 'white', options: false) = QboButtons::Builder.new(size: size, color: color, options: , type: :connect) .display end |