Sha256: e3e26de31a5cd2e8b038bc1e2bf47a69036e18a3c5f9dcb9cc2257b913a97558

Contents?: true

Size: 294 Bytes

Versions: 8

Compression:

Stored size: 294 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.to_s)}"
      else
        "/v2/#{MangoPay.configuration.client_id}/users/legal"
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mangopay-3.0.9 lib/mangopay/legal_user.rb
mangopay-3.0.8 lib/mangopay/legal_user.rb
mangopay-3.0.7 lib/mangopay/legal_user.rb
mangopay-3.0.6 lib/mangopay/legal_user.rb
mangopay-3.0.5 lib/mangopay/legal_user.rb
mangopay-3.0.4 lib/mangopay/legal_user.rb
mangopay-3.0.3 lib/mangopay/legal_user.rb
mangopay-3.0.2 lib/mangopay/legal_user.rb