Sha256: b3c278e4fc329d39983c4a2863be8e89e14f836e99766bc57e060eefe1927104

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

module MangoPay
  class NaturalUser < User

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mangopay-3.0.11 lib/mangopay/natural_user.rb
mangopay-3.0.10 lib/mangopay/natural_user.rb