Sha256: 2f807dafc2af655a74f16e8f801b279c9d2ddd49aa3fc3c2bdac08a1d2761ace

Contents?: true

Size: 319 Bytes

Versions: 11

Compression:

Stored size: 319 Bytes

Contents

module MangoPay

  # See http://docs.mangopay.com/api-references/users/natural-users/
  class NaturalUser < User

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

Version data entries

11 entries across 11 versions & 1 rubygems

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