module LinkedinV2::Url::Response
Constants
- TEMPLATE_PATH
Public Class Methods
[](name, **options)
click to toggle source
# File lib/linkedin_v2/url/response.rb, line 7 def [](name, **options) path = TEMPLATE_PATH + "#{name}.erb" file = Files::Reader.(path) erb = ERB.new(file) options.empty? ? erb.result : erb.result_with_hash(options) end