Class: LinkedinV2::Files::Reader

Inherits:
Object
  • Object
show all
Defined in:
lib/linkedin_v2/files/reader.rb

Class Method Summary collapse

Class Method Details

.call(path) ⇒ Object



4
5
6
7
8
# File 'lib/linkedin_v2/files/reader.rb', line 4

def self.call(path)
  template_path = File.join(File.dirname(__FILE__), path)

  File.read(template_path)
end