Class: RchilliRuby::ResumeParser
- Inherits:
-
Object
- Object
- RchilliRuby::ResumeParser
- Defined in:
- lib/rchilli_ruby/resume_parser.rb
Overview
Resume parsing using Rchilli
Instance Method Summary collapse
-
#initialize(user_key, version, sub_user_id) ⇒ ResumeParser
constructor
A new instance of ResumeParser.
- #parse(file_name, base_64_data) ⇒ Object
Constructor Details
#initialize(user_key, version, sub_user_id) ⇒ ResumeParser
Returns a new instance of ResumeParser.
6 7 8 9 10 |
# File 'lib/rchilli_ruby/resume_parser.rb', line 6 def initialize(user_key, version, sub_user_id) @user_key = user_key @version = version @sub_user_id = sub_user_id end |
Instance Method Details
#parse(file_name, base_64_data) ⇒ Object
12 13 14 15 16 |
# File 'lib/rchilli_ruby/resume_parser.rb', line 12 def parse(file_name, base_64_data) @file_name = file_name @base_64_data = base_64_data HTTParty.post(resume_parse_url, body: params, headers: headers) end |