class RocketValidator::V0::Resource
Public Class Methods
with_api_token(token) { || ... }
click to toggle source
# File lib/rocketvalidator/v0/resource.rb, line 7 def self.with_api_token(token) with_headers(authorization: "Bearer #{token}") do yield end end