Class: CareerBuilder::Request
- Inherits:
-
Object
- Object
- CareerBuilder::Request
- Defined in:
- lib/career_builder/request.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Authenticated
Constant Summary collapse
- RESUME_SERVICE_ENDPOINT_URL =
'http://ws.careerbuilder.com/resumes/resumes.asmx'
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(client, options = {}) ⇒ Request
constructor
A new instance of Request.
- #perform ⇒ Object
Constructor Details
#initialize(client, options = {}) ⇒ Request
Returns a new instance of Request.
9 10 11 |
# File 'lib/career_builder/request.rb', line 9 def initialize(client, = {}) @client, @options = client, end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
7 8 9 |
# File 'lib/career_builder/request.rb', line 7 def client @client end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'lib/career_builder/request.rb', line 7 def @options end |
Instance Method Details
#perform ⇒ Object
13 14 15 |
# File 'lib/career_builder/request.rb', line 13 def perform if defined?(self.class.const_get(:VALID_OPTIONS)) end |