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.11.1 lib/mangopay/natural_user.rb
mangopay-3.11.0 lib/mangopay/natural_user.rb
mangopay-3.10.0 lib/mangopay/natural_user.rb
mangopay-3.9.0 lib/mangopay/natural_user.rb
mangopay-3.8.0 lib/mangopay/natural_user.rb
mangopay-3.7.0 lib/mangopay/natural_user.rb
mangopay-3.6.0 lib/mangopay/natural_user.rb
mangopay-3.5.0 lib/mangopay/natural_user.rb
mangopay-3.4.0 lib/mangopay/natural_user.rb
mangopay-3.3.0 lib/mangopay/natural_user.rb
mangopay-3.2.0 lib/mangopay/natural_user.rb
mangopay-3.1.0 lib/mangopay/natural_user.rb
mangopay-3.0.38 lib/mangopay/natural_user.rb
mangopay-3.0.37 lib/mangopay/natural_user.rb
mangopay-3.0.36 lib/mangopay/natural_user.rb
mangopay-3.0.35 lib/mangopay/natural_user.rb
mangopay-3.0.34 lib/mangopay/natural_user.rb
mangopay-3.0.33 lib/mangopay/natural_user.rb
mangopay-3.0.32 lib/mangopay/natural_user.rb
mangopay-3.0.31 lib/mangopay/natural_user.rb