Sha256: 5479059a38e8a7033b3f6d5becabd94397abd4751dac0cd6fc2cb84c257dd174

Contents?: true

Size: 305 Bytes

Versions: 47

Compression:

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

47 entries across 47 versions & 1 rubygems

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