class Payture::Ewallet::MakePayUrl

Attributes

config[R]

Public Class Methods

new(config) click to toggle source
# File lib/payture/ewallet/make_pay_url.rb, line 7
def initialize(config)
  @config = config
end

Public Instance Methods

call(session_id) click to toggle source
# File lib/payture/ewallet/make_pay_url.rb, line 11
def call(session_id)
  "#{config.base_url}/Pay?SessionId=#{session_id}"
end