Class: W3cApi::Models::Affiliation

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

Instance Method Summary collapse

Instance Method Details

#participants(client = nil) ⇒ Object



75
76
77
78
79
# File 'lib/w3c_api/models/affiliation.rb', line 75

def participants(client = nil)
  return nil unless client

  client.affiliation_participants(id)
end

#participations(client = nil) ⇒ Object



81
82
83
84
85
# File 'lib/w3c_api/models/affiliation.rb', line 81

def participations(client = nil)
  return nil unless client

  client.affiliation_participations(id)
end