Sha256: ef82c52635f04a6bb05381a7ee099654f9b7e42ab9e1839f2b42fa25f8dd008c
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
module TokyoApi class Identity < Base def base_path 'identity' end def full_user(id) client.get_request("#{normalized_base_path}full_user/#{url_escape(id)}").body end def tokyo_identity_user_path(id, required_fields: nil) path = "/#{normalized_base_path}user/#{url_escape(id)}" unless required_fields.nil? path << "?#{required_fields_param(required_fields)}" end path end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tokyo_api-1.0.2 | lib/tokyo_api/identity.rb |
tokyo_api-1.0.1 | lib/tokyo_api/identity.rb |