Sha256: 966a2c6ccad90ff9dc55f7f8346aa000c824da072e625f8bc7fb0702558c4d85

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

module MangoPay
  class LegalUser < User

    private

    def self.url(id = nil)
      if id
        "/v2/#{MangoPay.configuration.client_id}/users/legal/#{CGI.escape(id)}"
      else
        "/v2/#{MangoPay.configuration.client_id}/users/legal"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mangopay-3.0.1 lib/mangopay/legal_user.rb