Sha256: 4c38c3b5868aee9acd2dacd8c319d5f2927ce4ba4fcbbaf6401bbe11a64832f2

Contents?: true

Size: 353 Bytes

Versions: 11

Compression:

Stored size: 353 Bytes

Contents

module MangoPay

  # See http://docs.mangopay.com/api-references/users/legal-users/
  # See also parent class MangoPay::User
  class LegalUser < User

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mangopay-3.0.25 lib/mangopay/legal_user.rb
mangopay-3.0.23 lib/mangopay/legal_user.rb
mangopay-3.0.21 lib/mangopay/legal_user.rb
mangopay-3.0.20 lib/mangopay/legal_user.rb
mangopay-3.0.19 lib/mangopay/legal_user.rb
mangopay-3.0.18 lib/mangopay/legal_user.rb
mangopay-3.0.17 lib/mangopay/legal_user.rb
mangopay-3.0.16 lib/mangopay/legal_user.rb
mangopay-3.0.15 lib/mangopay/legal_user.rb
mangopay-3.0.14 lib/mangopay/legal_user.rb
mangopay-3.0.13 lib/mangopay/legal_user.rb