module Paymaya::Checkout::Customization
Public Class Methods
get()
click to toggle source
# File lib/paymaya/checkout/customization.rb, line 20 def self.get Helper.request(:get, customization_url, {}, Helper.checkout_secret_auth_headers) end
remove()
click to toggle source
# File lib/paymaya/checkout/customization.rb, line 25 def self.remove Helper.request(:delete, customization_url, {}, Helper.checkout_secret_auth_headers) end
set(logo_url:, icon_url:, apple_touch_icon_url:, custom_title:, color_scheme:)
click to toggle source
# File lib/paymaya/checkout/customization.rb, line 9 def self.set(logo_url:, icon_url:, apple_touch_icon_url:, custom_title:, color_scheme:) Helper.request(:post, customization_url, { logo_url: logo_url, icon_url: icon_url, apple_touch_icon_url: apple_touch_icon_url, custom_title: custom_title, color_scheme: color_scheme }, Helper.checkout_secret_auth_headers) end
Private Class Methods
customization_url()
click to toggle source
# File lib/paymaya/checkout/customization.rb, line 30 def self.customization_url "#{Paymaya.config.base_url}/checkout/v1/customizations" end