Class: RchilliRuby::Client
- Inherits:
-
Object
- Object
- RchilliRuby::Client
- Defined in:
- lib/rchilli_ruby.rb
Overview
Client class to set headers for rchilli
Instance Attribute Summary collapse
-
#sub_user_id ⇒ Object
Returns the value of attribute sub_user_id.
-
#user_key ⇒ Object
Returns the value of attribute user_key.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(user_key, version, sub_user_id) ⇒ Client
constructor
A new instance of Client.
- #parse_jd ⇒ Object
- #parse_resume(file_name, base_64_data) ⇒ Object
Constructor Details
#initialize(user_key, version, sub_user_id) ⇒ Client
Returns a new instance of Client.
15 16 17 18 19 |
# File 'lib/rchilli_ruby.rb', line 15 def initialize(user_key, version, sub_user_id) @user_key = user_key @version = version @sub_user_id = sub_user_id end |
Instance Attribute Details
#sub_user_id ⇒ Object
Returns the value of attribute sub_user_id.
13 14 15 |
# File 'lib/rchilli_ruby.rb', line 13 def sub_user_id @sub_user_id end |
#user_key ⇒ Object
Returns the value of attribute user_key.
13 14 15 |
# File 'lib/rchilli_ruby.rb', line 13 def user_key @user_key end |
#version ⇒ Object
Returns the value of attribute version.
13 14 15 |
# File 'lib/rchilli_ruby.rb', line 13 def version @version end |
Instance Method Details
#parse_jd ⇒ Object
26 27 28 |
# File 'lib/rchilli_ruby.rb', line 26 def parse_jd #TODO: Need to develop in future end |
#parse_resume(file_name, base_64_data) ⇒ Object
21 22 23 24 |
# File 'lib/rchilli_ruby.rb', line 21 def parse_resume(file_name, base_64_data) parser = RchilliRuby::ResumeParser.new(user_key, version, sub_user_id) parser.parse(file_name, base_64_data) end |