Class: W3cApi::Client
- Inherits:
-
Object
- Object
- W3cApi::Client
- Defined in:
- lib/w3c_api/client.rb
Instance Method Summary collapse
- #affiliation(id, options = {}) ⇒ Object
-
#affiliations(options = {}) ⇒ Object
Affiliation methods.
- #ecosystem(id, options = {}) ⇒ Object
-
#ecosystems(options = {}) ⇒ Object
Ecosystem methods.
- #group(id, options = {}) ⇒ Object
-
#groups(options = {}) ⇒ Object
Group methods.
-
#participation(id, options = {}) ⇒ Object
Participation methods.
- #participation_participants(id, options = {}) ⇒ Object
-
#series(options = {}) ⇒ Object
Series methods.
- #series_by_shortname(shortname, options = {}) ⇒ Object
- #series_specifications(shortname, options = {}) ⇒ Object
- #specification(shortname, options = {}) ⇒ Object
- #specification_version(shortname, version, options = {}) ⇒ Object
- #specification_versions(shortname, options = {}) ⇒ Object
-
#specifications(options = nil) ⇒ Object
Specification methods.
- #specifications_by_status(status, options = {}) ⇒ Object
- #translation(id, options = {}) ⇒ Object
-
#translations(options = {}) ⇒ Object
Translation methods.
-
#user(hash, options = {}) ⇒ Object
User methods.
Instance Method Details
#affiliation(id, options = {}) ⇒ Object
95 96 97 |
# File 'lib/w3c_api/client.rb', line 95 def affiliation(id, = {}) fetch_resource(:affiliation_resource, id: id, **) end |
#affiliations(options = {}) ⇒ Object
Affiliation methods
91 92 93 |
# File 'lib/w3c_api/client.rb', line 91 def affiliations( = {}) fetch_resource(:affiliation_index, **) end |
#ecosystem(id, options = {}) ⇒ Object
110 111 112 |
# File 'lib/w3c_api/client.rb', line 110 def ecosystem(id, = {}) fetch_resource(:ecosystem_resource, id: id, **) end |
#ecosystems(options = {}) ⇒ Object
Ecosystem methods
106 107 108 |
# File 'lib/w3c_api/client.rb', line 106 def ecosystems( = {}) fetch_resource(:ecosystem_index, **) end |
#group(id, options = {}) ⇒ Object
59 60 61 |
# File 'lib/w3c_api/client.rb', line 59 def group(id, = {}) fetch_resource(:group_resource, id: id, **) end |
#groups(options = {}) ⇒ Object
Group methods
55 56 57 |
# File 'lib/w3c_api/client.rb', line 55 def groups( = {}) fetch_resource(:group_index, **) end |
#participation(id, options = {}) ⇒ Object
Participation methods
122 123 124 |
# File 'lib/w3c_api/client.rb', line 122 def participation(id, = {}) fetch_resource(:participation_resource, id: id, **) end |
#participation_participants(id, options = {}) ⇒ Object
126 127 128 |
# File 'lib/w3c_api/client.rb', line 126 def participation_participants(id, = {}) fetch_resource(:participation_participants_index, id: id, **) end |
#series(options = {}) ⇒ Object
Series methods
41 42 43 |
# File 'lib/w3c_api/client.rb', line 41 def series( = {}) fetch_resource(:serie_index, **) end |
#series_by_shortname(shortname, options = {}) ⇒ Object
45 46 47 |
# File 'lib/w3c_api/client.rb', line 45 def series_by_shortname(shortname, = {}) fetch_resource(:serie_resource, shortname: shortname, **) end |
#series_specifications(shortname, options = {}) ⇒ Object
49 50 51 52 |
# File 'lib/w3c_api/client.rb', line 49 def series_specifications(shortname, = {}) fetch_resource(:serie_specification_resource, shortname: shortname, **) end |
#specification(shortname, options = {}) ⇒ Object
15 16 17 |
# File 'lib/w3c_api/client.rb', line 15 def specification(shortname, = {}) fetch_resource(:specification_resource, shortname: shortname, **) end |
#specification_version(shortname, version, options = {}) ⇒ Object
24 25 26 27 |
# File 'lib/w3c_api/client.rb', line 24 def specification_version(shortname, version, = {}) fetch_resource(:specification_resource_version_resource, shortname: shortname, version: version, **) end |
#specification_versions(shortname, options = {}) ⇒ Object
19 20 21 22 |
# File 'lib/w3c_api/client.rb', line 19 def specification_versions(shortname, = {}) fetch_resource(:specification_resource_version_index, shortname: shortname, **) end |
#specifications(options = nil) ⇒ Object
Specification methods
11 12 13 |
# File 'lib/w3c_api/client.rb', line 11 def specifications( = nil) fetch_resource(:specification_index, **( || {})) end |
#specifications_by_status(status, options = {}) ⇒ Object
29 30 31 |
# File 'lib/w3c_api/client.rb', line 29 def specifications_by_status(status, = {}) fetch_resource(:specification_by_status_index, status: status, **) end |
#translation(id, options = {}) ⇒ Object
86 87 88 |
# File 'lib/w3c_api/client.rb', line 86 def translation(id, = {}) fetch_resource(:translation_resource, id: id, **) end |
#translations(options = {}) ⇒ Object
Translation methods
82 83 84 |
# File 'lib/w3c_api/client.rb', line 82 def translations( = {}) fetch_resource(:translation_index, **) end |
#user(hash, options = {}) ⇒ Object
User methods
70 71 72 |
# File 'lib/w3c_api/client.rb', line 70 def user(hash, = {}) fetch_resource(:user_resource, hash: hash, **) end |