Class: W3cApi::Models::User

Inherits:
Lutaml::Hal::Resource
  • Object
show all
Defined in:
lib/w3c_api/models/user.rb

Overview

User model representing a W3C user/participant

Instance Method Summary collapse

Instance Method Details

#groups(client = nil) ⇒ Object



107
108
109
110
111
# File 'lib/w3c_api/models/user.rb', line 107

def groups(client = nil)
  return nil unless client

  client.user_groups(id)
end

#specifications(client = nil) ⇒ Object



113
114
115
116
117
# File 'lib/w3c_api/models/user.rb', line 113

def specifications(client = nil)
  return nil unless client

  client.user_specifications(id)
end