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



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

def groups(client = nil)
  return nil unless client

  client.user_groups(id)
end

#specifications(client = nil) ⇒ Object



118
119
120
121
122
# File 'lib/w3c_api/models/user.rb', line 118

def specifications(client = nil)
  return nil unless client

  client.user_specifications(id)
end