Module: QboButtons::LinkHelper

Defined in:
app/helpers/qbo_buttons/link_helper.rb

Instance Method Summary collapse

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)
  qbo_buttons = QboButtons::Builder.new(size: size, color: color, options: options, type: :sign_in)
  qbo_buttons.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 (size: 'med', color: 'white', options: false)
  qbo_buttons = QboButtons::Builder.new(size: size, color: color, options: options, type: :sign_in)
  qbo_buttons.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 qbo_connect_button(href, size: 'med', color: 'white', options: false)
  qbo_buttons = QboButtons::Builder.new(size: size, color: color, options: options, type: :connect)
  qbo_buttons.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)
  qbo_buttons = QboButtons::Builder.new(size: size, color: color, options: options, type: :connect)
  qbo_buttons.display
end