Class: RocketValidator::V0::Resource
- Inherits:
-
JsonApiClient::Resource
- Object
- JsonApiClient::Resource
- RocketValidator::V0::Resource
- Defined in:
- lib/rocketvalidator/v0/resource.rb
Direct Known Subclasses
A11yIssue, CommonA11yIssue, CommonHtmlIssue, HtmlIssue, Muting, Report, Schedule, WebPage
Class Method Summary collapse
Class Method Details
.with_api_token(token) ⇒ Object
7 8 9 10 11 |
# File 'lib/rocketvalidator/v0/resource.rb', line 7 def self.with_api_token(token) with_headers(authorization: "Bearer #{token}") do yield end end |