Class: Payanyway::Factories::WidgetUrlFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/payanyway/factories/widget_url_factory.rb

Class Method Summary collapse

Class Method Details

.build(params, use_signature) ⇒ Object



4
5
6
7
8
9
# File 'lib/payanyway/factories/widget_url_factory.rb', line 4

def self.build(params, use_signature)
  [
    Payanyway::Gateway.config['widget_url'],
    Payanyway::Factories::QueryParamsFactory.build(params, use_signature)
  ].join('?')
end