Sha256: bbeb729c93fd8a358f4589acbb7e5cf72abf26534b0c69134b266e1abd61a82c

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

module MangoPay
  class NaturalUser < User

    private

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mangopay-3.0.1 lib/mangopay/natural_user.rb