Module: SolidusPaypalCommercePlatform::ButtonOptionsHelper
- Included in:
- PaymentMethod
- Defined in:
- app/helpers/solidus_paypal_commerce_platform/button_options_helper.rb
Instance Method Summary collapse
- #preferred_paypal_button_color_options ⇒ Object
- #preferred_paypal_button_layout_options ⇒ Object
- #preferred_paypal_button_shape_options ⇒ Object
- #preferred_paypal_button_size_options ⇒ Object
- #preferred_venmo_standalone_options ⇒ Object
Instance Method Details
#preferred_paypal_button_color_options ⇒ Object
5 6 7 |
# File 'app/helpers/solidus_paypal_commerce_platform/button_options_helper.rb', line 5 def [["Gold", "gold"], ["Blue", "blue"], ["Silver", "silver"], ["White", "white"], ["Black", "black"]] end |
#preferred_paypal_button_layout_options ⇒ Object
17 18 19 |
# File 'app/helpers/solidus_paypal_commerce_platform/button_options_helper.rb', line 17 def [["Vertical", "vertical"], ["Horizontal", "horizontal"]] end |
#preferred_paypal_button_shape_options ⇒ Object
13 14 15 |
# File 'app/helpers/solidus_paypal_commerce_platform/button_options_helper.rb', line 13 def [["Pill", "pill"], ["Rectangular", "rect"]] end |
#preferred_paypal_button_size_options ⇒ Object
9 10 11 |
# File 'app/helpers/solidus_paypal_commerce_platform/button_options_helper.rb', line 9 def [["Small", "small"], ["Medium", "medium"], ["Large", "large"], ["Responsive", "responsive"]] end |
#preferred_venmo_standalone_options ⇒ Object
21 22 23 |
# File 'app/helpers/solidus_paypal_commerce_platform/button_options_helper.rb', line 21 def [['Render only standalone', 'render only standalone'], ['Enabled', 'Enabled'], ['Disabled', 'disabled']] end |