Method: NgrokAPI::Services::ApplicationUsersClient#get
- Defined in:
- lib/ngrokapi/services/application_users_client.rb
#get(id: "") ⇒ NgrokAPI::Models::ApplicationUser
Get an application user by ID.
28 29 30 31 32 33 34 35 36 |
# File 'lib/ngrokapi/services/application_users_client.rb', line 28 def get(id: "") path = '/app/users/%{id}' replacements = { id: id, } data = {} result = @client.get(path % replacements, data: data) NgrokAPI::Models::ApplicationUser.new(client: self, attrs: result) end |