Sha256: b5f072dcd4eb0a4cc3477f701e94827585732b71e5eed888ed1c6b42ecae1a1b

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
mangopay-3.0.29 lib/mangopay/legal_user.rb
mangopay-3.0.28 lib/mangopay/legal_user.rb
mangopay-3.0.27 lib/mangopay/legal_user.rb
mangopay-3.0.26 lib/mangopay/legal_user.rb
mangopay-3.0.25.pre.alpha.pre.20 lib/mangopay/legal_user.rb