Sha256: 439ff88293df67de6d2a7f5dfa41dc9d29d41953a4ece46eae5e10fe412bc14f

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

module MangoPay
  class LegalUser < User

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mangopay-3.0.11 lib/mangopay/legal_user.rb
mangopay-3.0.10 lib/mangopay/legal_user.rb