Sha256: f0173a3689f3ea062ee185a3e92061c5d8fbc5fc75390b94fbf81635f1996789

Contents?: true

Size: 365 Bytes

Versions: 39

Compression:

Stored size: 365 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

    class << self
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
mangopay-3.28.0 lib/mangopay/legal_user.rb
mangopay-3.27.0 lib/mangopay/legal_user.rb
mangopay-3.26.1 lib/mangopay/legal_user.rb
mangopay-3.26.0 lib/mangopay/legal_user.rb
mangopay-3.25.1 lib/mangopay/legal_user.rb
mangopay-3.25.0 lib/mangopay/legal_user.rb
mangopay-3.24.1 lib/mangopay/legal_user.rb
mangopay-3.24.0 lib/mangopay/legal_user.rb
mangopay-3.23.0 lib/mangopay/legal_user.rb
mangopay-3.22.0 lib/mangopay/legal_user.rb
mangopay-3.21.0 lib/mangopay/legal_user.rb
mangopay-3.20.0 lib/mangopay/legal_user.rb
mangopay-3.19.0 lib/mangopay/legal_user.rb
mangopay-3.18.0 lib/mangopay/legal_user.rb
mangopay-3.17.0 lib/mangopay/legal_user.rb
mangopay-3.16.0 lib/mangopay/legal_user.rb
mangopay-3.15.0 lib/mangopay/legal_user.rb
mangopay-3.14.0 lib/mangopay/legal_user.rb
mangopay-3.13.2 lib/mangopay/legal_user.rb
mangopay-3.12.0 lib/mangopay/legal_user.rb