open_api_smart_recruiters_sdk 0.2.5 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/smart_recruiters/api/application_api.rb +3 -3
- data/lib/smart_recruiters/api_client.rb +1 -0
- data/lib/smart_recruiters/models/actions.rb +3 -3
- data/lib/smart_recruiters/models/all_of_candidate_details_primary_assignment.rb +3 -3
- data/lib/smart_recruiters/models/all_of_candidate_details_secondary_assignments_items.rb +3 -3
- data/lib/smart_recruiters/models/application_attachment_webhook_payload.rb +3 -3
- data/lib/smart_recruiters/models/applications.rb +3 -3
- data/lib/smart_recruiters/models/callback_requests.rb +3 -3
- data/lib/smart_recruiters/models/dependent_job_property_value.rb +3 -3
- data/lib/smart_recruiters/models/hiring_team_member.rb +3 -3
- data/lib/smart_recruiters/models/hiring_team_member_response.rb +3 -3
- data/lib/smart_recruiters/models/interview_types.rb +3 -3
- data/lib/smart_recruiters/models/interviewers.rb +3 -3
- data/lib/smart_recruiters/models/job.rb +2 -1
- data/lib/smart_recruiters/models/job_ads.rb +3 -3
- data/lib/smart_recruiters/models/job_details.rb +25 -25
- data/lib/smart_recruiters/models/job_property_input.rb +3 -3
- data/lib/smart_recruiters/models/job_summary.rb +3 -3
- data/lib/smart_recruiters/models/json_patch.rb +3 -3
- data/lib/smart_recruiters/models/label_translations.rb +3 -3
- data/lib/smart_recruiters/models/messages_view.rb +3 -3
- data/lib/smart_recruiters/models/subscriptions.rb +3 -3
- data/lib/smart_recruiters/models/timeslots.rb +3 -3
- data/lib/smart_recruiters/version.rb +1 -1
- data/open_api_smart_recruiters_sdk.gemspec +1 -1
- metadata +6 -6
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 11bca64ed61783f18fbfae7ae562cc731b4b9faad2e647814bbdab1e89bdd079
         | 
| 4 | 
            +
              data.tar.gz: 04eb66b38481c06e4204f66fb83974cb99ffd1f0d208a1e6a2366964681dc6d7
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7496e1ab082488cd1bc14131d643231236d3064e90b51178157ea290f5bbece2f40291e8e3855fb71258560c027d7c0172433ba50c6ce3a17e259d09da4be86c
         | 
| 7 | 
            +
              data.tar.gz: ff9fa99297b757f51979146bba2b9a92d3a1cd767f1786c2f10db6626eb8bcd439e9301a970189688d2b786a318bfeec408264b6b7b879d352492b9d67c92ac9
         | 
    
        data/Gemfile.lock
    CHANGED
    
    
| @@ -53,7 +53,7 @@ module SmartRecruiters | |
| 53 53 |  | 
| 54 54 | 
             
                  return_type = opts[:return_type] || 'ApplyApiResponse' 
         | 
| 55 55 |  | 
| 56 | 
            -
                  auth_names = opts[:auth_names] || ['key']
         | 
| 56 | 
            +
                  auth_names = opts[:auth_names] || ['key', 'oauth']
         | 
| 57 57 | 
             
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
         | 
| 58 58 | 
             
                    :header_params => header_params,
         | 
| 59 59 | 
             
                    :query_params => query_params,
         | 
| @@ -113,7 +113,7 @@ module SmartRecruiters | |
| 113 113 |  | 
| 114 114 | 
             
                  return_type = opts[:return_type] || 'ApplicationStatusInfo' 
         | 
| 115 115 |  | 
| 116 | 
            -
                  auth_names = opts[:auth_names] || ['key']
         | 
| 116 | 
            +
                  auth_names = opts[:auth_names] || ['key', 'oauth']
         | 
| 117 117 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 118 118 | 
             
                    :header_params => header_params,
         | 
| 119 119 | 
             
                    :query_params => query_params,
         | 
| @@ -170,7 +170,7 @@ module SmartRecruiters | |
| 170 170 |  | 
| 171 171 | 
             
                  return_type = opts[:return_type] || 'ApplyConfiguration' 
         | 
| 172 172 |  | 
| 173 | 
            -
                  auth_names = opts[:auth_names] || ['key']
         | 
| 173 | 
            +
                  auth_names = opts[:auth_names] || ['key', 'oauth']
         | 
| 174 174 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 175 175 | 
             
                    :header_params => header_params,
         | 
| 176 176 | 
             
                    :query_params => query_params,
         | 
| @@ -36,6 +36,7 @@ module SmartRecruiters | |
| 36 36 | 
             
                #   the data deserialized from response body (could be nil), response status code and response headers.
         | 
| 37 37 | 
             
                def call_api(http_method, path, opts = {})
         | 
| 38 38 | 
             
                  request = build_request(http_method, path, opts)
         | 
| 39 | 
            +
             | 
| 39 40 | 
             
                  response = request.run
         | 
| 40 41 |  | 
| 41 42 | 
             
                  if @config.debugging
         | 
| @@ -36,7 +36,7 @@ module SmartRecruiters | |
| 36 36 | 
             
                  }
         | 
| 37 37 |  | 
| 38 38 | 
             
                  # call parent's initialize
         | 
| 39 | 
            -
                  super(attributes)
         | 
| 39 | 
            +
                  # super(attributes)
         | 
| 40 40 | 
             
                end
         | 
| 41 41 |  | 
| 42 42 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -83,7 +83,7 @@ module SmartRecruiters | |
| 83 83 | 
             
                # @return [Object] Returns the model itself
         | 
| 84 84 | 
             
                def build_from_hash(attributes)
         | 
| 85 85 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 86 | 
            -
                  super(attributes)
         | 
| 86 | 
            +
                  # super(attributes)
         | 
| 87 87 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 88 88 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 89 89 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -157,7 +157,7 @@ module SmartRecruiters | |
| 157 157 | 
             
                # Returns the object in the form of hash
         | 
| 158 158 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 159 159 | 
             
                def to_hash
         | 
| 160 | 
            -
                  hash =  | 
| 160 | 
            +
                  hash = {}
         | 
| 161 161 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 162 162 | 
             
                    value = self.send(attr)
         | 
| 163 163 | 
             
                    if value.nil?
         | 
| @@ -68,7 +68,7 @@ module SmartRecruiters | |
| 68 68 | 
             
                  }
         | 
| 69 69 |  | 
| 70 70 | 
             
                  # call parent's initialize
         | 
| 71 | 
            -
                  super(attributes)
         | 
| 71 | 
            +
                  # super(attributes)
         | 
| 72 72 |  | 
| 73 73 | 
             
                  if attributes.key?(:'status')
         | 
| 74 74 | 
             
                    self.status = attributes[:'status']
         | 
| @@ -155,7 +155,7 @@ module SmartRecruiters | |
| 155 155 | 
             
                # @return [Object] Returns the model itself
         | 
| 156 156 | 
             
                def build_from_hash(attributes)
         | 
| 157 157 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 158 | 
            -
                  super(attributes)
         | 
| 158 | 
            +
                  # super(attributes)
         | 
| 159 159 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 160 160 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 161 161 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -229,7 +229,7 @@ module SmartRecruiters | |
| 229 229 | 
             
                # Returns the object in the form of hash
         | 
| 230 230 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 231 231 | 
             
                def to_hash
         | 
| 232 | 
            -
                  hash =  | 
| 232 | 
            +
                  hash = {}
         | 
| 233 233 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 234 234 | 
             
                    value = self.send(attr)
         | 
| 235 235 | 
             
                    if value.nil?
         | 
| @@ -68,7 +68,7 @@ module SmartRecruiters | |
| 68 68 | 
             
                  }
         | 
| 69 69 |  | 
| 70 70 | 
             
                  # call parent's initialize
         | 
| 71 | 
            -
                  super(attributes)
         | 
| 71 | 
            +
                  # super(attributes)
         | 
| 72 72 |  | 
| 73 73 | 
             
                  if attributes.key?(:'status')
         | 
| 74 74 | 
             
                    self.status = attributes[:'status']
         | 
| @@ -155,7 +155,7 @@ module SmartRecruiters | |
| 155 155 | 
             
                # @return [Object] Returns the model itself
         | 
| 156 156 | 
             
                def build_from_hash(attributes)
         | 
| 157 157 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 158 | 
            -
                  super(attributes)
         | 
| 158 | 
            +
                  # super(attributes)
         | 
| 159 159 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 160 160 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 161 161 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -229,7 +229,7 @@ module SmartRecruiters | |
| 229 229 | 
             
                # Returns the object in the form of hash
         | 
| 230 230 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 231 231 | 
             
                def to_hash
         | 
| 232 | 
            -
                  hash =  | 
| 232 | 
            +
                  hash = {}
         | 
| 233 233 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 234 234 | 
             
                    value = self.send(attr)
         | 
| 235 235 | 
             
                    if value.nil?
         | 
| @@ -54,7 +54,7 @@ module SmartRecruiters | |
| 54 54 | 
             
                  }
         | 
| 55 55 |  | 
| 56 56 | 
             
                  # call parent's initialize
         | 
| 57 | 
            -
                  super(attributes)
         | 
| 57 | 
            +
                  # super(attributes)
         | 
| 58 58 |  | 
| 59 59 | 
             
                  if attributes.key?(:'job_id')
         | 
| 60 60 | 
             
                    self.job_id = attributes[:'job_id']
         | 
| @@ -141,7 +141,7 @@ module SmartRecruiters | |
| 141 141 | 
             
                # @return [Object] Returns the model itself
         | 
| 142 142 | 
             
                def build_from_hash(attributes)
         | 
| 143 143 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 144 | 
            -
                  super(attributes)
         | 
| 144 | 
            +
                  # super(attributes)
         | 
| 145 145 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 146 146 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 147 147 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -215,7 +215,7 @@ module SmartRecruiters | |
| 215 215 | 
             
                # Returns the object in the form of hash
         | 
| 216 216 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 217 217 | 
             
                def to_hash
         | 
| 218 | 
            -
                  hash =  | 
| 218 | 
            +
                  hash = {}
         | 
| 219 219 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 220 220 | 
             
                    value = self.send(attr)
         | 
| 221 221 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -46,7 +46,7 @@ module SmartRecruiters | |
| 46 46 | 
             
                  }
         | 
| 47 47 |  | 
| 48 48 | 
             
                  # call parent's initialize
         | 
| 49 | 
            -
                  super(attributes)
         | 
| 49 | 
            +
                  # super(attributes)
         | 
| 50 50 |  | 
| 51 51 | 
             
                  if attributes.key?(:'label')
         | 
| 52 52 | 
             
                    self.label = attributes[:'label']
         | 
| @@ -113,7 +113,7 @@ module SmartRecruiters | |
| 113 113 | 
             
                # @return [Object] Returns the model itself
         | 
| 114 114 | 
             
                def build_from_hash(attributes)
         | 
| 115 115 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 116 | 
            -
                  super(attributes)
         | 
| 116 | 
            +
                  # super(attributes)
         | 
| 117 117 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 118 118 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 119 119 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -187,7 +187,7 @@ module SmartRecruiters | |
| 187 187 | 
             
                # Returns the object in the form of hash
         | 
| 188 188 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 189 189 | 
             
                def to_hash
         | 
| 190 | 
            -
                  hash =  | 
| 190 | 
            +
                  hash = {}
         | 
| 191 191 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 192 192 | 
             
                    value = self.send(attr)
         | 
| 193 193 | 
             
                    if value.nil?
         | 
| @@ -46,7 +46,7 @@ module SmartRecruiters | |
| 46 46 | 
             
                  }
         | 
| 47 47 |  | 
| 48 48 | 
             
                  # call parent's initialize
         | 
| 49 | 
            -
                  super(attributes)
         | 
| 49 | 
            +
                  # super(attributes)
         | 
| 50 50 |  | 
| 51 51 | 
             
                  if attributes.key?(:'id')
         | 
| 52 52 | 
             
                    self.id = attributes[:'id']
         | 
| @@ -113,7 +113,7 @@ module SmartRecruiters | |
| 113 113 | 
             
                # @return [Object] Returns the model itself
         | 
| 114 114 | 
             
                def build_from_hash(attributes)
         | 
| 115 115 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 116 | 
            -
                  super(attributes)
         | 
| 116 | 
            +
                  # super(attributes)
         | 
| 117 117 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 118 118 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 119 119 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -187,7 +187,7 @@ module SmartRecruiters | |
| 187 187 | 
             
                # Returns the object in the form of hash
         | 
| 188 188 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 189 189 | 
             
                def to_hash
         | 
| 190 | 
            -
                  hash =  | 
| 190 | 
            +
                  hash = {}
         | 
| 191 191 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 192 192 | 
             
                    value = self.send(attr)
         | 
| 193 193 | 
             
                    if value.nil?
         | 
| @@ -46,7 +46,7 @@ module SmartRecruiters | |
| 46 46 | 
             
                  }
         | 
| 47 47 |  | 
| 48 48 | 
             
                  # call parent's initialize
         | 
| 49 | 
            -
                  super(attributes)
         | 
| 49 | 
            +
                  # super(attributes)
         | 
| 50 50 |  | 
| 51 51 | 
             
                  if attributes.key?(:'role')
         | 
| 52 52 | 
             
                    self.role = attributes[:'role']
         | 
| @@ -108,7 +108,7 @@ module SmartRecruiters | |
| 108 108 | 
             
                # @return [Object] Returns the model itself
         | 
| 109 109 | 
             
                def build_from_hash(attributes)
         | 
| 110 110 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 111 | 
            -
                  super(attributes)
         | 
| 111 | 
            +
                  # super(attributes)
         | 
| 112 112 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 113 113 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 114 114 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -182,7 +182,7 @@ module SmartRecruiters | |
| 182 182 | 
             
                # Returns the object in the form of hash
         | 
| 183 183 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 184 184 | 
             
                def to_hash
         | 
| 185 | 
            -
                  hash =  | 
| 185 | 
            +
                  hash = {}
         | 
| 186 186 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 187 187 | 
             
                    value = self.send(attr)
         | 
| 188 188 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -81,28 +81,28 @@ module SmartRecruiters | |
| 81 81 | 
             
                # Attribute type mapping.
         | 
| 82 82 | 
             
                def self.openapi_types
         | 
| 83 83 | 
             
                  {
         | 
| 84 | 
            -
                    :'id' => :'',
         | 
| 85 | 
            -
                    :'title' => :'',
         | 
| 86 | 
            -
                    :'ref_number' => :'',
         | 
| 87 | 
            -
                    :'created_on' => :'',
         | 
| 88 | 
            -
                    :'updated_on' => :'',
         | 
| 89 | 
            -
                    :'last_activity_on' => :'',
         | 
| 90 | 
            -
                    :'department' => :'',
         | 
| 91 | 
            -
                    :'location' => :'',
         | 
| 92 | 
            -
                    :'status' => :'',
         | 
| 93 | 
            -
                    :'posting_status' => :'',
         | 
| 94 | 
            -
                    :'target_hiring_date' => :'',
         | 
| 95 | 
            -
                    :'industry' => :'',
         | 
| 96 | 
            -
                    :'function' => :'',
         | 
| 97 | 
            -
                    :'type_of_employment' => :'',
         | 
| 98 | 
            -
                    :'experience_level' => :'',
         | 
| 99 | 
            -
                    :'eeo_category' => :'',
         | 
| 100 | 
            -
                    :'template' => :'',
         | 
| 101 | 
            -
                    :'creator' => :'',
         | 
| 102 | 
            -
                    :'compensation' => :'',
         | 
| 103 | 
            -
                    :'job_ad' => :'',
         | 
| 104 | 
            -
                    :'properties' => :'',
         | 
| 105 | 
            -
                    :'actions' => :''
         | 
| 84 | 
            +
                    :'id' => :'Object',
         | 
| 85 | 
            +
                    :'title' => :'Object',
         | 
| 86 | 
            +
                    :'ref_number' => :'Object',
         | 
| 87 | 
            +
                    :'created_on' => :'Object',
         | 
| 88 | 
            +
                    :'updated_on' => :'Object',
         | 
| 89 | 
            +
                    :'last_activity_on' => :'Object',
         | 
| 90 | 
            +
                    :'department' => :'Object',
         | 
| 91 | 
            +
                    :'location' => :'Object',
         | 
| 92 | 
            +
                    :'status' => :'Object',
         | 
| 93 | 
            +
                    :'posting_status' => :'Object',
         | 
| 94 | 
            +
                    :'target_hiring_date' => :'Object',
         | 
| 95 | 
            +
                    :'industry' => :'Object',
         | 
| 96 | 
            +
                    :'function' => :'Object',
         | 
| 97 | 
            +
                    :'type_of_employment' => :'Object',
         | 
| 98 | 
            +
                    :'experience_level' => :'Object',
         | 
| 99 | 
            +
                    :'eeo_category' => :'Object',
         | 
| 100 | 
            +
                    :'template' => :'Object',
         | 
| 101 | 
            +
                    :'creator' => :'Object',
         | 
| 102 | 
            +
                    :'compensation' => :'Object',
         | 
| 103 | 
            +
                    :'job_ad' => :'Object',
         | 
| 104 | 
            +
                    :'properties' => :'Object',
         | 
| 105 | 
            +
                    :'actions' => :'Object'
         | 
| 106 106 | 
             
                  }
         | 
| 107 107 | 
             
                end
         | 
| 108 108 |  | 
| @@ -128,7 +128,7 @@ module SmartRecruiters | |
| 128 128 | 
             
                  }
         | 
| 129 129 |  | 
| 130 130 | 
             
                  # call parent's initialize
         | 
| 131 | 
            -
                  super(attributes)
         | 
| 131 | 
            +
                  # super(attributes)
         | 
| 132 132 |  | 
| 133 133 | 
             
                  if attributes.key?(:'id')
         | 
| 134 134 | 
             
                    self.id = attributes[:'id']
         | 
| @@ -287,7 +287,7 @@ module SmartRecruiters | |
| 287 287 | 
             
                # @return [Object] Returns the model itself
         | 
| 288 288 | 
             
                def build_from_hash(attributes)
         | 
| 289 289 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 290 | 
            -
                  super(attributes)
         | 
| 290 | 
            +
                  # super(attributes)
         | 
| 291 291 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 292 292 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 293 293 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -361,7 +361,7 @@ module SmartRecruiters | |
| 361 361 | 
             
                # Returns the object in the form of hash
         | 
| 362 362 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 363 363 | 
             
                def to_hash
         | 
| 364 | 
            -
                  hash =  | 
| 364 | 
            +
                  hash = {}
         | 
| 365 365 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 366 366 | 
             
                    value = self.send(attr)
         | 
| 367 367 | 
             
                    if value.nil?
         | 
| @@ -46,7 +46,7 @@ module SmartRecruiters | |
| 46 46 | 
             
                  }
         | 
| 47 47 |  | 
| 48 48 | 
             
                  # call parent's initialize
         | 
| 49 | 
            -
                  super(attributes)
         | 
| 49 | 
            +
                  # super(attributes)
         | 
| 50 50 |  | 
| 51 51 | 
             
                  if attributes.key?(:'id')
         | 
| 52 52 | 
             
                    self.id = attributes[:'id']
         | 
| @@ -113,7 +113,7 @@ module SmartRecruiters | |
| 113 113 | 
             
                # @return [Object] Returns the model itself
         | 
| 114 114 | 
             
                def build_from_hash(attributes)
         | 
| 115 115 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 116 | 
            -
                  super(attributes)
         | 
| 116 | 
            +
                  # super(attributes)
         | 
| 117 117 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 118 118 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 119 119 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -187,7 +187,7 @@ module SmartRecruiters | |
| 187 187 | 
             
                # Returns the object in the form of hash
         | 
| 188 188 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 189 189 | 
             
                def to_hash
         | 
| 190 | 
            -
                  hash =  | 
| 190 | 
            +
                  hash = {}
         | 
| 191 191 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 192 192 | 
             
                    value = self.send(attr)
         | 
| 193 193 | 
             
                    if value.nil?
         | 
| @@ -88,7 +88,7 @@ module SmartRecruiters | |
| 88 88 | 
             
                  }
         | 
| 89 89 |  | 
| 90 90 | 
             
                  # call parent's initialize
         | 
| 91 | 
            -
                  super(attributes)
         | 
| 91 | 
            +
                  # super(attributes)
         | 
| 92 92 |  | 
| 93 93 | 
             
                  if attributes.key?(:'id')
         | 
| 94 94 | 
             
                    self.id = attributes[:'id']
         | 
| @@ -195,7 +195,7 @@ module SmartRecruiters | |
| 195 195 | 
             
                # @return [Object] Returns the model itself
         | 
| 196 196 | 
             
                def build_from_hash(attributes)
         | 
| 197 197 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 198 | 
            -
                  super(attributes)
         | 
| 198 | 
            +
                  # super(attributes)
         | 
| 199 199 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 200 200 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 201 201 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -269,7 +269,7 @@ module SmartRecruiters | |
| 269 269 | 
             
                # Returns the object in the form of hash
         | 
| 270 270 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 271 271 | 
             
                def to_hash
         | 
| 272 | 
            -
                  hash =  | 
| 272 | 
            +
                  hash = {}
         | 
| 273 273 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 274 274 | 
             
                    value = self.send(attr)
         | 
| 275 275 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -38,7 +38,7 @@ module SmartRecruiters | |
| 38 38 | 
             
                  }
         | 
| 39 39 |  | 
| 40 40 | 
             
                  # call parent's initialize
         | 
| 41 | 
            -
                  super(attributes)
         | 
| 41 | 
            +
                  # super(attributes)
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| 44 44 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -85,7 +85,7 @@ module SmartRecruiters | |
| 85 85 | 
             
                # @return [Object] Returns the model itself
         | 
| 86 86 | 
             
                def build_from_hash(attributes)
         | 
| 87 87 | 
             
                  return nil unless attributes.is_a?(Hash)
         | 
| 88 | 
            -
                  super(attributes)
         | 
| 88 | 
            +
                  # super(attributes)
         | 
| 89 89 | 
             
                  self.class.openapi_types.each_pair do |key, type|
         | 
| 90 90 | 
             
                    if type =~ /\AArray<(.*)>/i
         | 
| 91 91 | 
             
                      # check to ensure the input is an array given that the attribute
         | 
| @@ -159,7 +159,7 @@ module SmartRecruiters | |
| 159 159 | 
             
                # Returns the object in the form of hash
         | 
| 160 160 | 
             
                # @return [Hash] Returns the object in the form of hash
         | 
| 161 161 | 
             
                def to_hash
         | 
| 162 | 
            -
                  hash =  | 
| 162 | 
            +
                  hash = {}
         | 
| 163 163 | 
             
                  self.class.attribute_map.each_pair do |attr, param|
         | 
| 164 164 | 
             
                    value = self.send(attr)
         | 
| 165 165 | 
             
                    if value.nil?
         | 
| @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| | |
| 12 12 |  | 
| 13 13 | 
             
              spec.summary = "A SmartRecruiters API SDK for Ruby."
         | 
| 14 14 | 
             
              spec.description = "A SmartRecruiters API SDK for Ruby."
         | 
| 15 | 
            -
              spec.homepage = "https://github.com/ | 
| 15 | 
            +
              spec.homepage = "https://github.com/RecruitiFi/smart_recruiters"
         | 
| 16 16 | 
             
              spec.license = "MIT"
         | 
| 17 17 | 
             
              spec.required_ruby_version = ">= 2.6.0"
         | 
| 18 18 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: open_api_smart_recruiters_sdk
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.2. | 
| 4 | 
            +
              version: 0.2.9
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - OneNeptune
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-08-02 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: oauth2
         | 
| @@ -367,14 +367,14 @@ files: | |
| 367 367 | 
             
            - lib/smart_recruiters/version.rb
         | 
| 368 368 | 
             
            - open_api_smart_recruiters_sdk.gemspec
         | 
| 369 369 | 
             
            - sig/smart_recruiters.rbs
         | 
| 370 | 
            -
            homepage: https://github.com/ | 
| 370 | 
            +
            homepage: https://github.com/RecruitiFi/smart_recruiters
         | 
| 371 371 | 
             
            licenses:
         | 
| 372 372 | 
             
            - MIT
         | 
| 373 373 | 
             
            metadata:
         | 
| 374 374 | 
             
              allowed_push_host: https://rubygems.org
         | 
| 375 | 
            -
              homepage_uri: https://github.com/ | 
| 376 | 
            -
              source_code_uri: https://github.com/ | 
| 377 | 
            -
              changelog_uri: https://github.com/ | 
| 375 | 
            +
              homepage_uri: https://github.com/RecruitiFi/smart_recruiters
         | 
| 376 | 
            +
              source_code_uri: https://github.com/RecruitiFi/smart_recruiters
         | 
| 377 | 
            +
              changelog_uri: https://github.com/RecruitiFi/smart_recruiters
         | 
| 378 378 | 
             
            post_install_message:
         | 
| 379 379 | 
             
            rdoc_options: []
         | 
| 380 380 | 
             
            require_paths:
         |