hubspot-api-client 7.1.0 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +41 -0
  4. data/lib/hubspot/codegen/cms/hubdb/api/default_api.rb +2090 -0
  5. data/lib/hubspot/codegen/cms/hubdb/api_client.rb +422 -0
  6. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +61 -0
  7. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +251 -0
  8. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3.rb +217 -0
  9. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +215 -0
  10. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +217 -0
  11. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +333 -0
  12. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3.rb +240 -0
  13. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3.rb +240 -0
  14. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +388 -0
  15. data/lib/hubspot/codegen/cms/hubdb/models/column_input.rb +288 -0
  16. data/lib/hubspot/codegen/cms/hubdb/models/error.rb +292 -0
  17. data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +258 -0
  18. data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +243 -0
  19. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +241 -0
  20. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +291 -0
  21. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_input.rb +243 -0
  22. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +383 -0
  23. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_input.rb +295 -0
  24. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input.rb +241 -0
  25. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +263 -0
  26. data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +224 -0
  27. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +257 -0
  28. data/lib/hubspot/codegen/cms/hubdb/models/paging.rb +219 -0
  29. data/lib/hubspot/codegen/cms/hubdb/models/previous_page.rb +224 -0
  30. data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +257 -0
  31. data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +278 -0
  32. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +405 -0
  33. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +309 -0
  34. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +96 -0
  35. data/lib/hubspot/codegen/crm/objects/api_client.rb +424 -0
  36. data/lib/hubspot/codegen/crm/objects/api_error.rb +61 -0
  37. data/lib/hubspot/codegen/crm/objects/configuration.rb +258 -0
  38. data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +229 -0
  39. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +217 -0
  40. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +217 -0
  41. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input.rb +217 -0
  42. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +242 -0
  43. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +313 -0
  44. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +333 -0
  45. data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +226 -0
  46. data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object.rb +226 -0
  47. data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object.rb +241 -0
  48. data/lib/hubspot/codegen/crm/objects/models/error.rb +292 -0
  49. data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +258 -0
  50. data/lib/hubspot/codegen/crm/objects/models/filter.rb +272 -0
  51. data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +217 -0
  52. data/lib/hubspot/codegen/crm/objects/models/next_page.rb +224 -0
  53. data/lib/hubspot/codegen/crm/objects/models/paging.rb +219 -0
  54. data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +224 -0
  55. data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +286 -0
  56. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +288 -0
  57. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +231 -0
  58. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +215 -0
  59. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +217 -0
  60. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +478 -0
  61. data/lib/hubspot/codegen/crm/schemas/api/default_api.rb +84 -0
  62. data/lib/hubspot/codegen/crm/schemas/api_client.rb +424 -0
  63. data/lib/hubspot/codegen/crm/schemas/api_error.rb +61 -0
  64. data/lib/hubspot/codegen/crm/schemas/configuration.rb +258 -0
  65. data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +350 -0
  66. data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +315 -0
  67. data/lib/hubspot/codegen/crm/schemas/models/collection_response_object_schema.rb +226 -0
  68. data/lib/hubspot/codegen/crm/schemas/models/error.rb +292 -0
  69. data/lib/hubspot/codegen/crm/schemas/models/error_detail.rb +258 -0
  70. data/lib/hubspot/codegen/crm/schemas/models/next_page.rb +224 -0
  71. data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +389 -0
  72. data/lib/hubspot/codegen/crm/schemas/models/object_schema_egg.rb +325 -0
  73. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition.rb +364 -0
  74. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_labels.rb +221 -0
  75. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +265 -0
  76. data/lib/hubspot/codegen/crm/schemas/models/object_type_property_create.rb +356 -0
  77. data/lib/hubspot/codegen/crm/schemas/models/option.rb +266 -0
  78. data/lib/hubspot/codegen/crm/schemas/models/option_input.rb +271 -0
  79. data/lib/hubspot/codegen/crm/schemas/models/paging.rb +219 -0
  80. data/lib/hubspot/codegen/crm/schemas/models/previous_page.rb +224 -0
  81. data/lib/hubspot/codegen/crm/schemas/models/property.rb +465 -0
  82. data/lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb +252 -0
  83. data/lib/hubspot/version.rb +1 -1
  84. data/lib/hubspot-api-client.rb +86 -0
  85. data/sample-apps/companies-app/.env +4 -0
  86. data/sample-apps/companies-app/Gemfile.lock +2 -2
  87. data/sample-apps/companies-app/app/lib/services/hubspot/associations/create.rb +1 -1
  88. data/sample-apps/companies-app/app/lib/services/hubspot/associations/delete.rb +1 -1
  89. data/sample-apps/companies-app/app/lib/services/hubspot/associations/get_by_id.rb +2 -2
  90. data/sample-apps/companies-app/app/lib/services/hubspot/companies/create.rb +1 -1
  91. data/sample-apps/companies-app/app/lib/services/hubspot/companies/search.rb +1 -1
  92. data/sample-apps/companies-app/app/lib/services/hubspot/companies/update.rb +1 -2
  93. data/sample-apps/companies-app/app/lib/services/hubspot/contacts/search.rb +1 -1
  94. data/sample-apps/companies-app/db/development.sqlite3 +0 -0
  95. data/sample-apps/companies-app/log/development.log +9651 -0
  96. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/05/053IomYcNFTvqinXbDGqg6suuCpMwg3_qV12AK4ccx8.cache +1 -0
  97. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/0B/0BGoINhViZ8xxoxODKNlHCXeopOIVGkZv9GAbzCCrZA.cache +0 -0
  98. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/1J/1JnNlMoorvDaAcLChcV1QOiqJyanmoUydnfe5-TPuXM.cache +2 -0
  99. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/1m/1mRwQeI_697SJNgSakVyU5vtV9tpeQ3aUvIyW2cHhMs.cache +1 -0
  100. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/2N/2NtH32KGXJ77tP3Eqh6uLR51KNm1OVXMHhMmPwFdosI.cache +1 -0
  101. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/2h/2hVm3bNa9JCxAsLCxbvspAtiL4VOtRTjXMSPw8eT9xk.cache +1 -0
  102. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/3-/3-EQcCNxYxUGN8o8H9QP_4IuaSB9GPsR0C-PObnR7s8.cache +0 -0
  103. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/41/41_29mpjEGapjHdofSi36OnnO3-eBNYbCe5nzHnIKwY.cache +2 -0
  104. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/4r/4rc8SkywVdYO98mj9mHirVzuhN_EeOMM3Lt3rugoOJs.cache +1 -0
  105. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/61/61XTQQp3JN2SQH4_rfFy4gSk4pMiTt8me_AumxnvBNw.cache +1 -0
  106. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/9V/9VF8D3PaGXBXsH74TVS8KHuWDA_6IiSdXMilLhBQisM.cache +1 -0
  107. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/A4/A4dS-Tck_QocRHBsc08nLD48snD4G6ewTLWwpkgdMOQ.cache +0 -0
  108. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Du/DuRFhtIpu9n_mgamwyOra33hIUFOga8HYS-GSeWds9E.cache +1 -0
  109. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/EC/EC2j6BCJ8TnspQFZeViwqN9QJH0fdqH7HvaNE6RzBxc.cache +1 -0
  110. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Fp/FprMIwFBZYrEWraVY7BWLI8zyHb9bwBIcAGNdpYm1Qo.cache +0 -0
  111. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +2 -0
  112. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/HP/HPdtqZdA1TM-sHs8oqrhAtNiPhPcRT9eX9Ol7MnE_Bw.cache +2 -0
  113. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Hc/Hcu6WwbYbe7vdpSCb0xXIKhaJsPWI3ClhXNHSX7tDGI.cache +1 -0
  114. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/JS/JSG-U0jab1xh5XD7sVL6JOKyu09pfMxV-xrBJe_JO74.cache +1 -0
  115. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/LZ/LZDNDSBrMmCeKXHrWTWu3KifeJk8ttcNGuQa4fHLxeA.cache +0 -0
  116. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Lh/LhI9Ge3PcQ_C89Ur42bKAIpIRT8TiDpipKToFBtEQeE.cache +0 -0
  117. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/NF/NFP_eGmF5C6AoAtwpzQ--fUDgWzSatMkmaOg6MIZRsQ.cache +0 -0
  118. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/NO/NOuX3u7ZLUewXKk_nPmLL5J6VkswjP1ZmCyZ1BzJXw4.cache +1 -0
  119. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Oy/OyUbp1l8zWzyp-bagPDb2l_Q7vp5qVbtWwVFV0hBbbM.cache +2 -0
  120. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/QM/QMyYX6f-edvoA70P385xdnqFw26fL-P9OtifvwXojp8.cache +2 -0
  121. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/U4/U466McG48IRBn70OWh5BO3nYPsXgKrEXHkrftg0xCLQ.cache +3 -0
  122. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Up/Upbt8ro5KXzYO6uyhFdI4KEXO-PUKaMitXFMEKCsfWA.cache +0 -0
  123. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Vr/Vr4UNxcDzlkx9ESuVbgI_Mb-fZcsczNERjGUj7FX7Io.cache +0 -0
  124. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Wh/WhFvj_7aBvrXx2AKx8-AVa6XnrEDLW1hRtQ7l08Ln58.cache +0 -0
  125. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/ZU/ZUKJTVw3DLZSVGlveWzrhvo4GduUbQScJeICRDN8tdo.cache +1 -0
  126. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/a3/a3AG-gARa2g-lIPGvcOkQvEfuvwICCxJd8zgE1bzLhE.cache +2 -0
  127. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/c1/c17XEWohQCmDJUizcCXxGsOyG46k1SwuJghS8WDTpTw.cache +1 -0
  128. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/dB/dB924pSiDrX_NqB-BmfdpToGXDZV6PINJB0ZDvM3tdg.cache +1 -0
  129. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/dg/dg8xDUB026KlWVbRE1h_SZ6gEPR6g81HrTkUIimQzqc.cache +3 -0
  130. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/gv/gvq1z6PDRE8gMtaUq2in1i3UzX2ALHQQDyu4rktAnlM.cache +0 -0
  131. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/kX/kXwRD1nb3DhVhF7hOQ5XyWT3MbPg9czHAQgVjCGZ4mc.cache +1 -0
  132. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/nF/nFSeMjJCygNSOQ27hdJwySwUPyh3vBaiXljrHxeQCfc.cache +0 -0
  133. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/pF/pFK-AXLRfIZQbNkoSeGwKVKqJtkz_-WxAlFUbspYW3o.cache +2 -0
  134. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/sb/sbdra4MXru4fxHN_jrd3o4d3VFPFyG3lI247mddfTUk.cache +2 -0
  135. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/tK/tKCKU24QLnDe4Wb5ytXkeZ42k7bpBNPmmTRcnTqC18o.cache +1 -0
  136. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/up/upaGCA7w36yB4Tws-rJDm6zL9b8MvnhZ0TUcpzwH_vg.cache +0 -0
  137. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/x2/x2sUH1UpS_RN1OlRKq_HmaXualaBizKVLTALZBT5VKo.cache +2 -0
  138. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/yL/yLiDuY3PPQgAmxWaulR4bejdG-_VXuSIqbmkWlntOys.cache +3 -0
  139. data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/zQ/zQQ-w-Xtu6gctPGaSXSDgmkcLte6siHhFoXxmJX9-0E.cache +1 -0
  140. data/sample-apps/companies-app/tmp/development_secret.txt +1 -0
  141. data/sample-apps/companies-app/tmp/restart.txt +0 -0
  142. data/sample-apps/contacts-app/.env +1 -3
  143. data/sample-apps/contacts-app/.env.test +3 -0
  144. data/sample-apps/contacts-app/Gemfile.lock +2 -2
  145. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/create.rb +1 -1
  146. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/search.rb +1 -1
  147. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/update.rb +1 -2
  148. data/sample-apps/contacts-app/app/lib/services/hubspot/properties/create.rb +1 -2
  149. data/sample-apps/contacts-app/app/lib/services/hubspot/properties/update.rb +1 -2
  150. data/sample-apps/contacts-app/db/test.sqlite3 +0 -0
  151. data/sample-apps/contacts-app/log/development.log +366 -0
  152. data/sample-apps/contacts-app/log/test.log +81 -0
  153. data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/1Y/1YZtqickyeZ_JcII96hylY6lF7sxNkbgA85xfEwrRiI.cache +0 -0
  154. data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/2l/2lwE97im5rEyOKzkyeiXzzKA4wJvO1a-4bRF4jVlcfc.cache +1 -0
  155. data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/HQ/HQOePM7-Xd6f4RPYUzU9DhU7j7x58rgm9Ji25xcZqfs.cache +0 -0
  156. data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/Kq/KqqfCu7F4dbV5xwLoXZcLoIgZKbHa_QnB1AwY0F_sw4.cache +0 -0
  157. data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/qP/qPZh8f6IbfC6CMuapwQb1TgwVDd0LGY42KwWM1dMHdk.cache +1 -1
  158. data/sample-apps/leaky-bucket-app/app/lib/services/hubspot/contacts/archive_batch.rb +1 -1
  159. data/sample-apps/leaky-bucket-app/app/lib/services/hubspot/contacts/create_batch.rb +1 -1
  160. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/create.rb +1 -1
  161. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/search.rb +1 -1
  162. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/update.rb +1 -2
  163. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/hubspot/contacts/archive_batch.rb +1 -1
  164. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/hubspot/contacts/create_batch.rb +1 -1
  165. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/contacts/search.rb +1 -1
  166. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/properties/create.rb +1 -2
  167. data/sample-apps/timeline-events-app/.env +6 -0
  168. data/sample-apps/timeline-events-app/.env.template +5 -0
  169. data/sample-apps/timeline-events-app/.gitignore +35 -0
  170. data/sample-apps/timeline-events-app/.rspec +1 -0
  171. data/sample-apps/timeline-events-app/.ruby-version +1 -0
  172. data/sample-apps/timeline-events-app/Dockerfile +22 -0
  173. data/sample-apps/timeline-events-app/Gemfile +33 -0
  174. data/sample-apps/timeline-events-app/Gemfile.lock +271 -0
  175. data/sample-apps/timeline-events-app/README.md +30 -0
  176. data/sample-apps/timeline-events-app/Rakefile +6 -0
  177. data/sample-apps/timeline-events-app/app/assets/config/manifest.js +3 -0
  178. data/sample-apps/timeline-events-app/app/assets/images/.keep +0 -0
  179. data/sample-apps/timeline-events-app/app/assets/javascripts/application.js +15 -0
  180. data/sample-apps/timeline-events-app/app/assets/javascripts/cable.js +13 -0
  181. data/sample-apps/timeline-events-app/app/assets/javascripts/channels/.keep +0 -0
  182. data/sample-apps/timeline-events-app/app/assets/stylesheets/application.css +171 -0
  183. data/sample-apps/timeline-events-app/app/controllers/application_controller.rb +12 -0
  184. data/sample-apps/timeline-events-app/app/controllers/concerns/.keep +0 -0
  185. data/sample-apps/timeline-events-app/app/controllers/concerns/exception_handler.rb +12 -0
  186. data/sample-apps/timeline-events-app/app/controllers/oauth/authorization_controller.rb +19 -0
  187. data/sample-apps/timeline-events-app/app/controllers/timeline_events_controller.rb +37 -0
  188. data/sample-apps/timeline-events-app/app/helpers/application_helper.rb +2 -0
  189. data/sample-apps/timeline-events-app/app/lib/services/authorization/authorize_hubspot.rb +15 -0
  190. data/sample-apps/timeline-events-app/app/lib/services/authorization/get_authorization_uri.rb +33 -0
  191. data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/base.rb +19 -0
  192. data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/generate.rb +26 -0
  193. data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/refresh.rb +33 -0
  194. data/sample-apps/timeline-events-app/app/lib/services/hubspot/contacts/search.rb +37 -0
  195. data/sample-apps/timeline-events-app/app/lib/services/hubspot/timeline/create_event.rb +20 -0
  196. data/sample-apps/timeline-events-app/app/lib/services/hubspot/timeline/create_template.rb +39 -0
  197. data/sample-apps/timeline-events-app/app/models/application_record.rb +3 -0
  198. data/sample-apps/timeline-events-app/app/models/concerns/.keep +0 -0
  199. data/sample-apps/timeline-events-app/app/views/layouts/application.html.erb +23 -0
  200. data/sample-apps/timeline-events-app/app/views/oauth/authorization/login.html.erb +15 -0
  201. data/sample-apps/timeline-events-app/app/views/shared/_header.html.erb +12 -0
  202. data/sample-apps/timeline-events-app/app/views/timeline_events/index.html.erb +53 -0
  203. data/sample-apps/timeline-events-app/bin/bundle +3 -0
  204. data/sample-apps/timeline-events-app/bin/rails +9 -0
  205. data/sample-apps/timeline-events-app/bin/rake +9 -0
  206. data/sample-apps/timeline-events-app/bin/setup +36 -0
  207. data/sample-apps/timeline-events-app/bin/spring +17 -0
  208. data/sample-apps/timeline-events-app/bin/update +31 -0
  209. data/sample-apps/timeline-events-app/bin/yarn +11 -0
  210. data/sample-apps/timeline-events-app/config/application.rb +19 -0
  211. data/sample-apps/timeline-events-app/config/boot.rb +3 -0
  212. data/sample-apps/timeline-events-app/config/database.yml +25 -0
  213. data/sample-apps/timeline-events-app/config/environment.rb +5 -0
  214. data/sample-apps/timeline-events-app/config/environments/development.rb +61 -0
  215. data/sample-apps/timeline-events-app/config/environments/production.rb +94 -0
  216. data/sample-apps/timeline-events-app/config/environments/test.rb +46 -0
  217. data/sample-apps/timeline-events-app/config/initializers/assets.rb +14 -0
  218. data/sample-apps/timeline-events-app/config/initializers/filter_parameter_logging.rb +4 -0
  219. data/sample-apps/timeline-events-app/config/initializers/hubspot-api-client.rb +3 -0
  220. data/sample-apps/timeline-events-app/config/initializers/mime_types.rb +1 -0
  221. data/sample-apps/timeline-events-app/config/initializers/wrap_parameters.rb +14 -0
  222. data/sample-apps/timeline-events-app/config/locales/en.yml +33 -0
  223. data/sample-apps/timeline-events-app/config/puma.rb +34 -0
  224. data/sample-apps/timeline-events-app/config/routes.rb +7 -0
  225. data/sample-apps/timeline-events-app/config/spring.rb +6 -0
  226. data/sample-apps/timeline-events-app/config.ru +5 -0
  227. data/sample-apps/timeline-events-app/db/development.sqlite3 +0 -0
  228. data/sample-apps/timeline-events-app/db/seeds.rb +7 -0
  229. data/sample-apps/timeline-events-app/docker-compose.yml +11 -0
  230. data/sample-apps/timeline-events-app/docker-entrypoint.sh +8 -0
  231. data/sample-apps/timeline-events-app/lib/assets/.keep +0 -0
  232. data/sample-apps/timeline-events-app/lib/tasks/.keep +0 -0
  233. data/sample-apps/timeline-events-app/log/.keep +0 -0
  234. data/sample-apps/timeline-events-app/log/development.log +233 -0
  235. data/sample-apps/timeline-events-app/package.json +5 -0
  236. data/sample-apps/timeline-events-app/public/404.html +67 -0
  237. data/sample-apps/timeline-events-app/public/422.html +67 -0
  238. data/sample-apps/timeline-events-app/public/500.html +66 -0
  239. data/sample-apps/timeline-events-app/public/apple-touch-icon-precomposed.png +0 -0
  240. data/sample-apps/timeline-events-app/public/apple-touch-icon.png +0 -0
  241. data/sample-apps/timeline-events-app/public/favicon.ico +0 -0
  242. data/sample-apps/timeline-events-app/public/robots.txt +1 -0
  243. data/sample-apps/timeline-events-app/spec/rails_helper.rb +42 -0
  244. data/sample-apps/timeline-events-app/spec/spec_helper.rb +11 -0
  245. data/sample-apps/timeline-events-app/tmp/.keep +0 -0
  246. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/-4/-4csb8XcQONHVcyTGO-F2TBp5f38ghhZHcLg3cqyqGo.cache +1 -0
  247. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/-s/-sz9D51o9Mpd_omN4pJY1EYoyEa63QWgr9CkNp-jtps.cache +1 -0
  248. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/1J/1JnNlMoorvDaAcLChcV1QOiqJyanmoUydnfe5-TPuXM.cache +2 -0
  249. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/1m/1mRwQeI_697SJNgSakVyU5vtV9tpeQ3aUvIyW2cHhMs.cache +1 -0
  250. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/2N/2NtH32KGXJ77tP3Eqh6uLR51KNm1OVXMHhMmPwFdosI.cache +1 -0
  251. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/2h/2hVm3bNa9JCxAsLCxbvspAtiL4VOtRTjXMSPw8eT9xk.cache +1 -0
  252. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/41/41_29mpjEGapjHdofSi36OnnO3-eBNYbCe5nzHnIKwY.cache +2 -0
  253. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/60/609vj6Xv1ogaZ1W1H_oBuo-3NqC3UqbKAXw2ekEcehU.cache +0 -0
  254. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/61/61XTQQp3JN2SQH4_rfFy4gSk4pMiTt8me_AumxnvBNw.cache +1 -0
  255. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/6p/6pPimSDuw-hEAZW4CkGVIt9wjYiTMaCD2XPuKQoiI4Q.cache +1 -0
  256. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/7J/7JspjJWUyNJySsbLlEs8anll3WiAM20dZ2sYA0gAhMI.cache +0 -0
  257. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/9N/9NrK08Zz2zuDH5uff0al0ZhRW0kOe3KP7KSyfZDcWfg.cache +0 -0
  258. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/9V/9VF8D3PaGXBXsH74TVS8KHuWDA_6IiSdXMilLhBQisM.cache +1 -0
  259. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/9c/9cJSDPxEgTHO5-B9Ln7Tmok9fbsxmk1HYf-W-gkEg_I.cache +2 -0
  260. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/AE/AE-AZVyOjAgA1j71HRmlDGNdoT6aOAMNrvEsZxDVMzU.cache +2 -0
  261. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/AF/AFacZJ15zJm8o8Bwesmpsw2GC-o4mNEAhT87cuTM_wE.cache +1 -0
  262. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/B6/B6MZ8qg-mV5hZWBQ5HB80eAXCr4gyrJR5Yrm4BiSTdU.cache +2 -0
  263. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/D0/D01xXzz6r1DGdB4yVwcPaLEp7-mpzCd2m3enZVNJtFU.cache +2 -0
  264. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Du/DuRFhtIpu9n_mgamwyOra33hIUFOga8HYS-GSeWds9E.cache +1 -0
  265. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/EC/EC2j6BCJ8TnspQFZeViwqN9QJH0fdqH7HvaNE6RzBxc.cache +1 -0
  266. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Ey/EyQsquE_D1TCQQbh-3vmLjQzYO7w9ZRqo7tDg5VpC7Q.cache +2 -0
  267. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Fp/FprMIwFBZYrEWraVY7BWLI8zyHb9bwBIcAGNdpYm1Qo.cache +0 -0
  268. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +2 -0
  269. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/JS/JSG-U0jab1xh5XD7sVL6JOKyu09pfMxV-xrBJe_JO74.cache +1 -0
  270. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Lh/LhI9Ge3PcQ_C89Ur42bKAIpIRT8TiDpipKToFBtEQeE.cache +0 -0
  271. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Mv/MvRTlknGa6_mRdF7m9I2jPIPCQ9a-RyzBwkgecBbZQ8.cache +0 -0
  272. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/OF/OFMeLotCkEst9CGQgQZtf5RZNaVhcrLOPJeSWszn-aw.cache +1 -0
  273. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/RJ/RJ-ZWnzIrbCdeg0pVWbccBZiePyfi50zo0xb1Tbhh80.cache +1 -0
  274. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/RU/RUOojm-aD-XrIy-K6cbUI9czQdjnW9_Bt45wId068iM.cache +2 -0
  275. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Tx/TxdcnqzvySOuWPXZfaIYX0TOpCy44repbAScKtV2niE.cache +0 -0
  276. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/U4/U466McG48IRBn70OWh5BO3nYPsXgKrEXHkrftg0xCLQ.cache +3 -0
  277. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/UW/UWFYTnxz4EWqiz0LkhxInMLo36CdlVg3x9SyzAnLiBU.cache +0 -0
  278. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Up/Upbt8ro5KXzYO6uyhFdI4KEXO-PUKaMitXFMEKCsfWA.cache +0 -0
  279. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/V8/V8wr1RK4MTLGwxThiZIb0G-SrIusNzCMhJeHGGHT72Q.cache +1 -0
  280. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Wh/WhFvj_7aBvrXx2AKx8-AVa6XnrEDLW1hRtQ7l08Ln58.cache +0 -0
  281. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Wt/WtCfdoaaBC0aPmNgc57xHk8dbNRqZcP5zOpcLpiGzoc.cache +2 -0
  282. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Wz/WzRw7cbmE45MrdG0W25ZAT-Nz0glf7xBkB2nI0M7z7A.cache +1 -0
  283. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Xi/XiZmZbrcb0M-y7EJZkx1ft177jFiZCL7pbpp6cRZaTA.cache +1 -0
  284. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/ZU/ZUKJTVw3DLZSVGlveWzrhvo4GduUbQScJeICRDN8tdo.cache +1 -0
  285. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/_w/_w2qaD3e5UPMGQeZYpP481jnQLVeIXIVH2vQx2856QY.cache +0 -0
  286. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/dg/dg8xDUB026KlWVbRE1h_SZ6gEPR6g81HrTkUIimQzqc.cache +3 -0
  287. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/eX/eXRXZi-sk9Oy17fc94B24coFT6Jn93gCZI0SahPx7U4.cache +0 -0
  288. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/ey/eyQx5cIdM2CoBrdF3izBgEAY4OxjhcWr4O4xz132au8.cache +2 -0
  289. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/fW/fWunpu-z9IEGhI1uwayT47VSyYTtQkphog4WkrSKAiw.cache +1 -0
  290. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/gB/gBgBWy2c1z2A2HykdtIz7OYGnHIRDzbk092kh5b6jaE.cache +2 -0
  291. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/gv/gvq1z6PDRE8gMtaUq2in1i3UzX2ALHQQDyu4rktAnlM.cache +0 -0
  292. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/hA/hAQloq4iFKlI32gRuBj7Qw-S3_fk622RHC7B3bKQcGM.cache +2 -0
  293. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/j3/j3r-jelmETDRd-G19KKXI0QM5g991nlcbUwXBnRnNQE.cache +0 -0
  294. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/k1/k1S4UmDyDiVdoVjxFVnT7PjryGZlRLlg6Rbiv263PC8.cache +1 -0
  295. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/kX/kXwRD1nb3DhVhF7hOQ5XyWT3MbPg9czHAQgVjCGZ4mc.cache +1 -0
  296. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/kb/kbxkYCk1EgNiJrtaLBYcKjpLawXPyY26vtsvLwAGuRs.cache +0 -0
  297. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/lG/lGngG8GuW7NOMaJJjbCUpaUmPukNz5qTAuDFKUeQGD8.cache +1 -0
  298. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/mE/mE5ux5CqyC__7A31roQaIrItQDaC4e3O1ccQpHEzf3A.cache +1 -0
  299. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/mf/mfGViGcXdNxYP-Fj1h1q2YL8V4R9hdRw-pbcz44ykGo.cache +1 -0
  300. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/n_/n_AnmncFkjyQrNIMt47ODfSQL8Ah5cY4UKW1IThyYyg.cache +0 -0
  301. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/ne/nehoEMwTN_YXNZspteBmbCj-55v4o0wq_nnFJCPVtUk.cache +1 -0
  302. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/nf/nfLIHBgXq65X45t_2QaQM3smByR8wIxjzXL0A1bb9NU.cache +0 -0
  303. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/pF/pFK-AXLRfIZQbNkoSeGwKVKqJtkz_-WxAlFUbspYW3o.cache +2 -0
  304. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/q8/q8cA8tJbgodCWeH8qLt9pac6Ig-wK4v5aiJ6VV6-bHw.cache +0 -0
  305. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/sD/sDQm06qCaywVxzpOwjngjtCXxSMXqwixf0n0xD0IHHw.cache +0 -0
  306. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/sb/sbdra4MXru4fxHN_jrd3o4d3VFPFyG3lI247mddfTUk.cache +2 -0
  307. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/w7/w7U6DzTbVwmZ8JqXhirzDvr-HGtiCEIpNHRQtLc7M68.cache +2 -0
  308. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/wd/wdx03MG0LBtOSdemZvED30U1i-V5s75E7207MC6TGTI.cache +0 -0
  309. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/yL/yLiDuY3PPQgAmxWaulR4bejdG-_VXuSIqbmkWlntOys.cache +3 -0
  310. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/yb/ybRqqIyo6H-rkIwoBZp14cENSoSgyZqa1XAUKLV1zpk.cache +1 -0
  311. data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/yj/yjlHOIhrAzNkiA_SiyRZKIkEwaC0rktB1TVequSKqjc.cache +1 -0
  312. data/sample-apps/timeline-events-app/tmp/development_secret.txt +1 -0
  313. data/sample-apps/timeline-events-app/tmp/restart.txt +0 -0
  314. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/contacts/get_batch.rb +1 -4
  315. metadata +283 -2
@@ -451,3 +451,369 @@ Processing by ContactsController#index as HTML
451
451
  Completed 200 OK in 1148ms (Views: 47.6ms | ActiveRecord: 0.0ms)
452
452
 
453
453
 
454
+ Started GET "/" for ::1 at 2020-08-17 18:21:56 +0300
455
+ Processing by ContactsController#index as HTML
456
+ Redirected to http://localhost:3000/login
457
+ Filter chain halted as :authorize rendered or redirected
458
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
459
+
460
+
461
+ Started GET "/login" for ::1 at 2020-08-17 18:21:56 +0300
462
+ Processing by Oauth::AuthorizationController#login as HTML
463
+ Rendering oauth/authorization/login.html.erb within layouts/application
464
+ Rendered oauth/authorization/login.html.erb within layouts/application (0.9ms)
465
+ Rendered shared/_header.html.erb (0.3ms)
466
+ Completed 200 OK in 133ms (Views: 132.8ms | ActiveRecord: 0.0ms)
467
+
468
+
469
+ Started GET "/oauth" for ::1 at 2020-08-17 18:21:58 +0300
470
+ Processing by Oauth::AuthorizationController#authorize as HTML
471
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts&
472
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
473
+
474
+
475
+ Started GET "/oauth/callback?code=6d7229e0-763e-47c3-b2e2-7b8a0d38afa7" for ::1 at 2020-08-17 18:22:02 +0300
476
+ Processing by Oauth::AuthorizationController#callback as HTML
477
+ Parameters: {"code"=>"6d7229e0-763e-47c3-b2e2-7b8a0d38afa7"}
478
+ Redirected to http://localhost:3000/contacts
479
+ Completed 302 Found in 365ms (ActiveRecord: 0.0ms)
480
+
481
+
482
+ Started GET "/contacts" for ::1 at 2020-08-17 18:22:02 +0300
483
+ Processing by ContactsController#index as HTML
484
+ Rendering contacts/index.html.erb within layouts/application
485
+ Rendered contacts/index.html.erb within layouts/application (45.7ms)
486
+ Rendered shared/_header.html.erb (0.3ms)
487
+ Completed 200 OK in 785ms (Views: 67.3ms | ActiveRecord: 0.0ms)
488
+
489
+
490
+ Started GET "/contacts/new" for ::1 at 2020-08-17 18:31:38 +0300
491
+ Processing by ContactsController#new as HTML
492
+ Rendering contacts/new.html.erb within layouts/application
493
+ Rendered contacts/new.html.erb within layouts/application (3.8ms)
494
+ Rendered shared/_header.html.erb (0.3ms)
495
+ Completed 200 OK in 37ms (Views: 31.1ms | ActiveRecord: 0.0ms)
496
+
497
+
498
+ Started POST "/contacts" for ::1 at 2020-08-17 18:31:44 +0300
499
+ Processing by ContactsController#create as HTML
500
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"IiRN9fXvGu45DF3bH+L42W0ObHRL0EBEfhNhzP1F0/Tn5yBKiEzf0XnhOcVm69ay9Jzf7clghL/JDK4i0ELoWA==", "email"=>"asdf@asdf.dd", "commit"=>"Save"}
501
+ Redirected to http://localhost:3000/contacts/new
502
+ Completed 302 Found in 376ms (ActiveRecord: 0.0ms)
503
+
504
+
505
+ Started GET "/contacts/new" for ::1 at 2020-08-17 18:31:44 +0300
506
+ Processing by ContactsController#new as HTML
507
+ Rendering contacts/new.html.erb within layouts/application
508
+ Rendered contacts/new.html.erb within layouts/application (4.5ms)
509
+ Rendered shared/_header.html.erb (0.4ms)
510
+ Completed 200 OK in 47ms (Views: 39.5ms | ActiveRecord: 0.0ms)
511
+
512
+
513
+ Started POST "/contacts" for ::1 at 2020-08-17 18:31:50 +0300
514
+ Processing by ContactsController#create as HTML
515
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mEEq1IDkRP82BUzL7I7E9Bu4ij/m+6F8v2bB33eHwG1dgkdr/UeBwHboKNWVh+qfgio5pmRLZYcIeQ4xWoD7wQ==", "email"=>"test002@q.com", "commit"=>"Save"}
516
+ Redirected to http://localhost:3000/contacts
517
+ Completed 302 Found in 767ms (ActiveRecord: 0.0ms)
518
+
519
+
520
+ Started GET "/contacts" for ::1 at 2020-08-17 18:31:51 +0300
521
+ Processing by ContactsController#index as HTML
522
+ Rendering contacts/index.html.erb within layouts/application
523
+ Rendered contacts/index.html.erb within layouts/application (23.2ms)
524
+ Rendered shared/_header.html.erb (0.5ms)
525
+ Completed 200 OK in 658ms (Views: 37.2ms | ActiveRecord: 0.0ms)
526
+
527
+
528
+ Started GET "/contacts/51" for ::1 at 2020-08-17 18:31:58 +0300
529
+ Processing by ContactsController#show as HTML
530
+ Parameters: {"id"=>"51"}
531
+ Rendering contacts/show.html.erb within layouts/application
532
+ Rendered contacts/show.html.erb within layouts/application (29.3ms)
533
+ Rendered shared/_header.html.erb (0.2ms)
534
+ Completed 200 OK in 1536ms (Views: 43.9ms | ActiveRecord: 0.0ms)
535
+
536
+
537
+ Started PUT "/contacts/51" for ::1 at 2020-08-17 18:32:04 +0300
538
+ Processing by ContactsController#update as HTML
539
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rez+yZ2HaxiNEGG9sfcvOD4zxHXEMzaotWz2jal6QkSAL5N24CSuJ839BaPI/gFTp6F37EaD8lMCczljhH156A==", "contact"=>{"address"=>"j", "annualrevenue"=>"", "city"=>"Cambridge", "company"=>"HubSpot", "company_size"=>"", "country"=>"", "date_of_birth"=>"", "degree"=>"", "email"=>"bh@hubspot.com", "fax"=>"", "field_of_study"=>"", "firstname"=>"Brian", "gender"=>"", "graduation_date"=>"", "hs_content_membership_notes"=>"", "hs_facebook_click_id"=>"", "hs_facebookid"=>"", "hs_google_click_id"=>"", "hs_googleplusid"=>"", "hs_linkedinid"=>"", "hs_twitterid"=>"", "hubspot_owner_id"=>"", "industry"=>"", "job_function"=>"", "jobtitle"=>"CEO", "lastname"=>"Halligan (Sample Contact)", "linkedinbio"=>"", "marital_status"=>"", "message"=>"", "military_status"=>"", "mobilephone"=>"", "owneremail"=>"", "ownername"=>"", "phone"=>"", "photo"=>"", "relationship_status"=>"", "salutation"=>"", "school"=>"", "seniority"=>"", "start_date"=>"", "state"=>"MA", "test"=>"", "twitterbio"=>"", "twitterhandle"=>"bhalligan", "twitterprofilephoto"=>"https://pbs.twimg.com/profile_images/3491742741/212e42c07d3348251da10872e85aa6b0.jpeg", "website"=>"http://www.HubSpot.com", "work_email"=>"", "zip"=>""}, "commit"=>"Save", "id"=>"51"}
540
+ Redirected to http://localhost:3000/contacts
541
+ Completed 302 Found in 1066ms (ActiveRecord: 0.0ms)
542
+
543
+
544
+ Started GET "/contacts" for ::1 at 2020-08-17 18:32:05 +0300
545
+ Processing by ContactsController#index as HTML
546
+ Rendering contacts/index.html.erb within layouts/application
547
+ Rendered contacts/index.html.erb within layouts/application (41.0ms)
548
+ Rendered shared/_header.html.erb (0.2ms)
549
+ Completed 200 OK in 719ms (Views: 108.0ms | ActiveRecord: 0.0ms)
550
+
551
+
552
+ Started GET "/properties" for ::1 at 2020-08-17 18:32:08 +0300
553
+ Processing by PropertiesController#index as HTML
554
+ Rendering properties/index.html.erb within layouts/application
555
+ Rendered properties/index.html.erb within layouts/application (4.0ms)
556
+ Rendered shared/_header.html.erb (0.3ms)
557
+ Completed 200 OK in 354ms (Views: 17.0ms | ActiveRecord: 0.0ms)
558
+
559
+
560
+ Started DELETE "/properties/test" for ::1 at 2020-08-17 18:32:14 +0300
561
+ Processing by PropertiesController#destroy as HTML
562
+ Parameters: {"authenticity_token"=>"Wkm8kPg+2L0dukkZ9cqQMyHL6xxcueBYTCidTr+ZeX2fitEvhZ0dgl1XLQeMw75YuFlYhd4JJKP7N1Kgkp5C0Q==", "id"=>"test"}
563
+ Redirected to http://localhost:3000/properties
564
+ Completed 302 Found in 929ms (ActiveRecord: 0.0ms)
565
+
566
+
567
+ Started GET "/properties" for ::1 at 2020-08-17 18:32:15 +0300
568
+ Processing by PropertiesController#index as HTML
569
+ Rendering properties/index.html.erb within layouts/application
570
+ Rendered properties/index.html.erb within layouts/application (3.1ms)
571
+ Rendered shared/_header.html.erb (1.1ms)
572
+ Completed 200 OK in 410ms (Views: 19.4ms | ActiveRecord: 0.0ms)
573
+
574
+
575
+ Started GET "/properties/new" for ::1 at 2020-08-17 18:32:17 +0300
576
+ Processing by PropertiesController#new as HTML
577
+ Rendering properties/new.html.erb within layouts/application
578
+ Rendered properties/new.html.erb within layouts/application (11.9ms)
579
+ Rendered shared/_header.html.erb (0.2ms)
580
+ Completed 200 OK in 41ms (Views: 38.9ms | ActiveRecord: 0.0ms)
581
+
582
+
583
+ Started POST "/properties" for ::1 at 2020-08-17 18:32:21 +0300
584
+ Processing by PropertiesController#create as HTML
585
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"kNtvwg3HVfDXdnuXJqH5PGoiOiwQZd1DBzb7JBVF4TpVGAJ9cGSQz5ebH4lfqNdX87CJtZLVGbiwKTTKOELalg==", "property"=>{"name"=>"hhh", "label"=>"hhh", "description"=>"hhh", "group_name"=>"contactinformation", "type"=>"string", "field_type"=>"text"}, "commit"=>"Save"}
586
+ Redirected to http://localhost:3000/properties/new
587
+ Completed 302 Found in 251ms (ActiveRecord: 0.0ms)
588
+
589
+
590
+ Started GET "/properties/new" for ::1 at 2020-08-17 18:32:21 +0300
591
+ Processing by PropertiesController#new as HTML
592
+ Rendering properties/new.html.erb within layouts/application
593
+ Rendered properties/new.html.erb within layouts/application (17.9ms)
594
+ Rendered shared/_header.html.erb (0.7ms)
595
+ Completed 200 OK in 78ms (Views: 70.4ms | ActiveRecord: 0.0ms)
596
+
597
+
598
+ Started GET "/properties/new" for ::1 at 2020-08-17 18:34:56 +0300
599
+ Processing by PropertiesController#new as HTML
600
+ Rendering properties/new.html.erb within layouts/application
601
+ Rendered properties/new.html.erb within layouts/application (3.2ms)
602
+ Rendered shared/_header.html.erb (0.2ms)
603
+ Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.0ms)
604
+
605
+
606
+ Started POST "/properties" for ::1 at 2020-08-17 18:35:02 +0300
607
+ Processing by PropertiesController#create as HTML
608
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"WugqiCdcVtj4EGXJDULCfbTgdHNsRuJUfCCnPJ8LKtufK0c3Wv+T57j9Add0S+wWLXLH6u72Jq/LP2jSsgwRdw==", "property"=>{"name"=>"test_property", "label"=>"Company size", "description"=>"test001", "group_name"=>"contactinformation", "type"=>"string", "field_type"=>"text"}, "commit"=>"Save"}
609
+ Redirected to http://localhost:3000/properties
610
+ Completed 302 Found in 497ms (ActiveRecord: 0.0ms)
611
+
612
+
613
+ Started GET "/properties" for ::1 at 2020-08-17 18:35:03 +0300
614
+ Processing by PropertiesController#index as HTML
615
+ Rendering properties/index.html.erb within layouts/application
616
+ Rendered properties/index.html.erb within layouts/application (5.0ms)
617
+ Rendered shared/_header.html.erb (0.3ms)
618
+ Completed 200 OK in 391ms (Views: 16.7ms | ActiveRecord: 0.0ms)
619
+
620
+
621
+ Started GET "/properties/test_property" for ::1 at 2020-08-17 18:36:23 +0300
622
+ Processing by PropertiesController#show as HTML
623
+ Parameters: {"id"=>"test_property"}
624
+ Rendering properties/show.html.erb within layouts/application
625
+ Rendered properties/show.html.erb within layouts/application (6.2ms)
626
+ Rendered shared/_header.html.erb (0.6ms)
627
+ Completed 200 OK in 798ms (Views: 35.6ms | ActiveRecord: 0.0ms)
628
+
629
+
630
+ Started PUT "/properties/test_property" for ::1 at 2020-08-17 18:36:31 +0300
631
+ Processing by PropertiesController#update as HTML
632
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"EVhg/+yqJDlXFiq/yWVFtgHjo2PDKsa0cuooMhbopPbUmw1AkQnhBhf7TqGwbGvdmHEQ+kGaAk/F9efcO++fWg==", "property"=>{"name"=>"test_property", "label"=>"Company sizejjj", "description"=>"test001", "group_name"=>"contactinformation", "type"=>"string", "field_type"=>"text"}, "commit"=>"Save", "id"=>"test_property"}
633
+ Redirected to http://localhost:3000/properties
634
+ Completed 302 Found in 386ms (ActiveRecord: 0.0ms)
635
+
636
+
637
+ Started GET "/properties" for ::1 at 2020-08-17 18:36:32 +0300
638
+ Processing by PropertiesController#index as HTML
639
+ Rendering properties/index.html.erb within layouts/application
640
+ Rendered properties/index.html.erb within layouts/application (5.7ms)
641
+ Rendered shared/_header.html.erb (0.2ms)
642
+ Completed 200 OK in 685ms (Views: 15.7ms | ActiveRecord: 0.0ms)
643
+
644
+
645
+ Started GET "/" for ::1 at 2020-08-21 17:26:48 +0300
646
+ Processing by ContactsController#index as HTML
647
+ Redirected to http://localhost:3000/login
648
+ Filter chain halted as :authorize rendered or redirected
649
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
650
+
651
+
652
+ Started GET "/login" for ::1 at 2020-08-21 17:26:48 +0300
653
+ Processing by Oauth::AuthorizationController#login as HTML
654
+ Rendering oauth/authorization/login.html.erb within layouts/application
655
+ Rendered oauth/authorization/login.html.erb within layouts/application (1.6ms)
656
+ Rendered shared/_header.html.erb (0.3ms)
657
+ Completed 200 OK in 185ms (Views: 182.7ms | ActiveRecord: 0.0ms)
658
+
659
+
660
+ Started GET "/login" for ::1 at 2020-08-21 17:26:49 +0300
661
+ Processing by Oauth::AuthorizationController#login as HTML
662
+ Rendering oauth/authorization/login.html.erb within layouts/application
663
+ Rendered oauth/authorization/login.html.erb within layouts/application (0.3ms)
664
+ Rendered shared/_header.html.erb (0.3ms)
665
+ Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
666
+
667
+
668
+ Started GET "/oauth" for ::1 at 2020-08-21 17:26:50 +0300
669
+ Processing by Oauth::AuthorizationController#authorize as HTML
670
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts&
671
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
672
+
673
+
674
+ Started GET "/oauth/callback?code=e2aff82d-8695-4d9a-8f73-c7b9bc8dca46" for ::1 at 2020-08-21 17:26:55 +0300
675
+ Processing by Oauth::AuthorizationController#callback as HTML
676
+ Parameters: {"code"=>"e2aff82d-8695-4d9a-8f73-c7b9bc8dca46"}
677
+ Redirected to http://localhost:3000/contacts
678
+ Completed 302 Found in 532ms (ActiveRecord: 0.0ms)
679
+
680
+
681
+ Started GET "/contacts" for ::1 at 2020-08-21 17:26:56 +0300
682
+ Processing by ContactsController#index as HTML
683
+ Rendering contacts/index.html.erb within layouts/application
684
+ Rendered contacts/index.html.erb within layouts/application (36.2ms)
685
+ Rendered shared/_header.html.erb (0.3ms)
686
+ Completed 200 OK in 790ms (Views: 47.3ms | ActiveRecord: 0.0ms)
687
+
688
+
689
+ Started GET "/contacts" for ::1 at 2020-08-21 17:27:59 +0300
690
+ Processing by ContactsController#index as HTML
691
+ Started GET "/contacts" for ::1 at 2020-08-21 17:28:09 +0300
692
+ Rendering contacts/index.html.erb within layouts/application
693
+ Rendered contacts/index.html.erb within layouts/application (31.4ms)
694
+ Rendered shared/_header.html.erb (0.3ms)
695
+ Completed 200 OK in 857793ms (Views: 50.0ms | ActiveRecord: 0.0ms)
696
+
697
+
698
+
699
+ SyntaxError (/home/ermolkin/work/hubspot/hubspot-api-client/sample-apps/contacts-app/app/controllers/contacts_controller.rb:11: syntax error, unexpected tIDENTIFIER, expecting '}'
700
+ domain: 'test_company.com'
701
+ ^~~~~~
702
+ /home/ermolkin/work/hubspot/hubspot-api-client/sample-apps/contacts-app/app/controllers/contacts_controller.rb:12: syntax error, unexpected '}', expecting end
703
+ }
704
+ ^):
705
+
706
+ app/controllers/contacts_controller.rb:11: syntax error, unexpected tIDENTIFIER, expecting '}'
707
+ app/controllers/contacts_controller.rb:12: syntax error, unexpected '}', expecting end
708
+ Started GET "/contacts" for ::1 at 2020-08-21 17:43:01 +0300
709
+ Processing by ContactsController#index as HTML
710
+ Rendering contacts/index.html.erb within layouts/application
711
+ Rendered contacts/index.html.erb within layouts/application (33.3ms)
712
+ Rendered shared/_header.html.erb (0.2ms)
713
+ Completed 200 OK in 5965ms (Views: 45.8ms | ActiveRecord: 0.0ms)
714
+
715
+
716
+ Started GET "/contacts" for ::1 at 2020-08-21 17:48:43 +0300
717
+ Processing by ContactsController#index as HTML
718
+ Rendering contacts/index.html.erb within layouts/application
719
+ Rendered contacts/index.html.erb within layouts/application (39.3ms)
720
+ Rendered shared/_header.html.erb (0.3ms)
721
+ Completed 200 OK in 7014ms (Views: 51.2ms | ActiveRecord: 0.0ms)
722
+
723
+
724
+ Started GET "/contacts" for ::1 at 2020-08-21 17:48:55 +0300
725
+ Processing by ContactsController#index as HTML
726
+ Rendering contacts/index.html.erb within layouts/application
727
+ Rendered contacts/index.html.erb within layouts/application (34.1ms)
728
+ Rendered shared/_header.html.erb (0.3ms)
729
+ Completed 200 OK in 30697ms (Views: 171.8ms | ActiveRecord: 0.0ms)
730
+
731
+
732
+ Started GET "/contacts" for ::1 at 2020-08-21 17:49:31 +0300
733
+ Processing by ContactsController#index as HTML
734
+ Rendering contacts/index.html.erb within layouts/application
735
+ Rendered contacts/index.html.erb within layouts/application (15.4ms)
736
+ Rendered shared/_header.html.erb (0.2ms)
737
+ Completed 200 OK in 230419ms (Views: 179.5ms | ActiveRecord: 0.0ms)
738
+
739
+
740
+ Started GET "/" for ::1 at 2020-09-14 13:20:53 +0300
741
+ Processing by ContactsController#index as HTML
742
+ Redirected to http://localhost:3000/login
743
+ Filter chain halted as :authorize rendered or redirected
744
+ Completed 302 Found in 20ms (ActiveRecord: 0.0ms)
745
+
746
+
747
+ Started GET "/login" for ::1 at 2020-09-14 13:20:54 +0300
748
+ Processing by Oauth::AuthorizationController#login as HTML
749
+ Rendering oauth/authorization/login.html.erb within layouts/application
750
+ Rendered oauth/authorization/login.html.erb within layouts/application (3.3ms)
751
+ Rendered shared/_header.html.erb (0.4ms)
752
+ Completed 200 OK in 379ms (Views: 378.3ms | ActiveRecord: 0.0ms)
753
+
754
+
755
+ Started GET "/oauth" for ::1 at 2020-09-14 13:20:57 +0300
756
+ Processing by Oauth::AuthorizationController#authorize as HTML
757
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts&
758
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
759
+
760
+
761
+ Started GET "/oauth/callback?code=6e90d538-0af0-42d8-8bce-ef3f6766f532" for ::1 at 2020-09-14 13:21:02 +0300
762
+ Processing by Oauth::AuthorizationController#callback as HTML
763
+ Parameters: {"code"=>"6e90d538-0af0-42d8-8bce-ef3f6766f532"}
764
+ Redirected to http://localhost:3000/contacts
765
+ Completed 302 Found in 355ms (ActiveRecord: 0.0ms)
766
+
767
+
768
+ Started GET "/contacts" for ::1 at 2020-09-14 13:21:02 +0300
769
+ Processing by ContactsController#index as HTML
770
+ Started GET "/oauth/callback?code=4fe1644e-2dba-4122-8778-ed6062a12cf5" for ::1 at 2020-09-14 13:25:14 +0300
771
+ Processing by Oauth::AuthorizationController#callback as HTML
772
+ Parameters: {"code"=>"4fe1644e-2dba-4122-8778-ed6062a12cf5"}
773
+ Redirected to http://localhost:3000/contacts
774
+ Completed 302 Found in 757ms (ActiveRecord: 0.0ms)
775
+
776
+
777
+ Started GET "/contacts" for ::1 at 2020-09-14 13:25:15 +0300
778
+ Processing by ContactsController#index as HTML
779
+ Started GET "/login" for ::1 at 2020-09-14 13:25:22 +0300
780
+ Processing by Oauth::AuthorizationController#login as HTML
781
+ Rendering oauth/authorization/login.html.erb within layouts/application
782
+ Rendered oauth/authorization/login.html.erb within layouts/application (4.3ms)
783
+ Rendered shared/_header.html.erb (3.9ms)
784
+ Completed 200 OK in 695ms (Views: 677.5ms | ActiveRecord: 0.0ms)
785
+
786
+
787
+ Started GET "/oauth" for ::1 at 2020-09-14 13:25:24 +0300
788
+ Processing by Oauth::AuthorizationController#authorize as HTML
789
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth%2Fcallback&scope=contacts&
790
+ Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
791
+
792
+
793
+ Rendering contacts/index.html.erb within layouts/application
794
+ Rendered contacts/index.html.erb within layouts/application (71.9ms)
795
+ Rendered shared/_header.html.erb (0.6ms)
796
+ Completed 200 OK in 17211ms (Views: 93.8ms | ActiveRecord: 0.0ms)
797
+
798
+
799
+ Rendering contacts/index.html.erb within layouts/application
800
+ Rendered contacts/index.html.erb within layouts/application (42.2ms)
801
+ Rendered shared/_header.html.erb (0.0ms)
802
+ Completed 200 OK in 270684ms (Views: 54.4ms | ActiveRecord: 0.0ms)
803
+
804
+
805
+ Started GET "/oauth/callback?code=84621081-4bba-4f2c-9189-6ff7fe881f90" for ::1 at 2020-09-14 13:25:37 +0300
806
+ Processing by Oauth::AuthorizationController#callback as HTML
807
+ Parameters: {"code"=>"84621081-4bba-4f2c-9189-6ff7fe881f90"}
808
+ Redirected to http://localhost:3000/contacts
809
+ Completed 302 Found in 341ms (ActiveRecord: 0.0ms)
810
+
811
+
812
+ Started GET "/contacts" for ::1 at 2020-09-14 13:25:37 +0300
813
+ Processing by ContactsController#index as HTML
814
+ Rendering contacts/index.html.erb within layouts/application
815
+ Rendered contacts/index.html.erb within layouts/application (110.1ms)
816
+ Rendered shared/_header.html.erb (0.5ms)
817
+ Completed 200 OK in 3205ms (Views: 144.9ms | ActiveRecord: 0.0ms)
818
+
819
+
@@ -0,0 +1,81 @@
1
+ Started GET "/" for 127.0.0.1 at 2020-10-15 14:23:11 +0300
2
+ Processing by ContactsController#index as HTML
3
+ Redirected to http://localhost:39865/login
4
+ Filter chain halted as :authorize rendered or redirected
5
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
6
+ Started GET "/login" for 127.0.0.1 at 2020-10-15 14:23:11 +0300
7
+ Processing by Oauth::AuthorizationController#login as HTML
8
+ Rendering oauth/authorization/login.html.erb within layouts/application
9
+ Rendered oauth/authorization/login.html.erb within layouts/application (0.8ms)
10
+ Rendered shared/_header.html.erb (0.2ms)
11
+ Completed 200 OK in 294ms (Views: 292.2ms | ActiveRecord: 0.0ms)
12
+ Started GET "/assets/application-b4aef8a7c02dce6cf2725fa5bf4e59dbcdb6aa1e6f3a531f6ce61a0c9f22aa0e.css" for 127.0.0.1 at 2020-10-15 14:23:12 +0300
13
+ Started GET "/assets/application-5480cd6ff3f625da5fbc65a5bacbdb0ec40f8ba6fcea845163a544913a5dd0d0.js" for 127.0.0.1 at 2020-10-15 14:23:12 +0300
14
+ Started GET "/oauth" for 127.0.0.1 at 2020-10-15 14:23:12 +0300
15
+ Processing by Oauth::AuthorizationController#authorize as HTML
16
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A39865%2Foauth%2Fcallback&scope=contacts&
17
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
18
+ Started GET "/" for 127.0.0.1 at 2020-10-15 14:23:44 +0300
19
+ Processing by ContactsController#index as HTML
20
+ Redirected to http://localhost:40819/login
21
+ Filter chain halted as :authorize rendered or redirected
22
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
23
+ Started GET "/login" for 127.0.0.1 at 2020-10-15 14:23:44 +0300
24
+ Processing by Oauth::AuthorizationController#login as HTML
25
+ Rendering oauth/authorization/login.html.erb within layouts/application
26
+ Rendered oauth/authorization/login.html.erb within layouts/application (0.8ms)
27
+ Rendered shared/_header.html.erb (0.2ms)
28
+ Completed 200 OK in 270ms (Views: 269.5ms | ActiveRecord: 0.0ms)
29
+ Started GET "/assets/application-5480cd6ff3f625da5fbc65a5bacbdb0ec40f8ba6fcea845163a544913a5dd0d0.js" for 127.0.0.1 at 2020-10-15 14:23:44 +0300
30
+ Started GET "/assets/application-b4aef8a7c02dce6cf2725fa5bf4e59dbcdb6aa1e6f3a531f6ce61a0c9f22aa0e.css" for 127.0.0.1 at 2020-10-15 14:23:44 +0300
31
+ Started GET "/oauth" for 127.0.0.1 at 2020-10-15 14:23:45 +0300
32
+ Processing by Oauth::AuthorizationController#authorize as HTML
33
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A40819%2Foauth%2Fcallback&scope=contacts&
34
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
35
+ Started GET "/" for 127.0.0.1 at 2020-10-15 14:25:14 +0300
36
+ Processing by ContactsController#index as HTML
37
+ Redirected to http://localhost:44279/login
38
+ Filter chain halted as :authorize rendered or redirected
39
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
40
+ Started GET "/login" for 127.0.0.1 at 2020-10-15 14:25:14 +0300
41
+ Processing by Oauth::AuthorizationController#login as HTML
42
+ Rendering oauth/authorization/login.html.erb within layouts/application
43
+ Rendered oauth/authorization/login.html.erb within layouts/application (0.9ms)
44
+ Rendered shared/_header.html.erb (0.2ms)
45
+ Completed 200 OK in 292ms (Views: 291.0ms | ActiveRecord: 0.0ms)
46
+ Started GET "/assets/application-b4aef8a7c02dce6cf2725fa5bf4e59dbcdb6aa1e6f3a531f6ce61a0c9f22aa0e.css" for 127.0.0.1 at 2020-10-15 14:25:14 +0300
47
+ Started GET "/assets/application-5480cd6ff3f625da5fbc65a5bacbdb0ec40f8ba6fcea845163a544913a5dd0d0.js" for 127.0.0.1 at 2020-10-15 14:25:14 +0300
48
+ Started GET "/oauth" for 127.0.0.1 at 2020-10-15 14:25:14 +0300
49
+ Processing by Oauth::AuthorizationController#authorize as HTML
50
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A44279%2Foauth%2Fcallback&scope=contacts&
51
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
52
+ Started GET "/" for 127.0.0.1 at 2020-10-15 14:25:36 +0300
53
+ Processing by ContactsController#index as HTML
54
+ Redirected to http://localhost:44279/login
55
+ Filter chain halted as :authorize rendered or redirected
56
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
57
+ Started GET "/login" for 127.0.0.1 at 2020-10-15 14:25:36 +0300
58
+ Processing by Oauth::AuthorizationController#login as HTML
59
+ Rendering oauth/authorization/login.html.erb within layouts/application
60
+ Rendered oauth/authorization/login.html.erb within layouts/application (0.0ms)
61
+ Rendered shared/_header.html.erb (0.0ms)
62
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
63
+ Started GET "/oauth" for 127.0.0.1 at 2020-10-15 14:25:36 +0300
64
+ Processing by Oauth::AuthorizationController#authorize as HTML
65
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A44279%2Foauth%2Fcallback&scope=contacts&
66
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
67
+ Started GET "/" for 127.0.0.1 at 2020-10-15 14:25:58 +0300
68
+ Processing by ContactsController#index as HTML
69
+ Redirected to http://localhost:44279/login
70
+ Filter chain halted as :authorize rendered or redirected
71
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
72
+ Started GET "/login" for 127.0.0.1 at 2020-10-15 14:25:58 +0300
73
+ Processing by Oauth::AuthorizationController#login as HTML
74
+ Rendering oauth/authorization/login.html.erb within layouts/application
75
+ Rendered oauth/authorization/login.html.erb within layouts/application (0.0ms)
76
+ Rendered shared/_header.html.erb (0.0ms)
77
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
78
+ Started GET "/oauth" for 127.0.0.1 at 2020-10-15 14:25:58 +0300
79
+ Processing by Oauth::AuthorizationController#authorize as HTML
80
+ Redirected to https://app.hubspot.com/oauth/authorize?client_id=8a79cddf-c799-4905-8926-ca0e740f75f7&redirect_uri=http%3A%2F%2Flocalhost%3A44279%2Foauth%2Fcallback&scope=contacts&
81
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=04e3bbc747f5a52a98d7b43f22af66dcc36cada7b3c8b8239c173dd462426d15:ET
@@ -1 +1 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=9724d9cd64e29fb61bb8b217db2c2400826c4aa48ee239c665eafef4866947f3:ET
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=88ab2041e6e25cff39dfaedc0c8d9ec8fae1ba89660e7eab288d5bc6a2735e3e:ET
@@ -11,7 +11,7 @@ module Services
11
11
  ids_object = ::Hubspot::Crm::Contacts::BatchInputSimplePublicObjectId.new(
12
12
  inputs: @ids
13
13
  )
14
- batch_api.archive(body: ids_object , auth_names: 'oauth2')
14
+ batch_api.archive(ids_object, auth_names: 'oauth2')
15
15
  end
16
16
 
17
17
  private
@@ -11,7 +11,7 @@ module Services
11
11
  contacts_object = ::Hubspot::Crm::Contacts::BatchInputSimplePublicObjectInput.new(
12
12
  inputs: contacts
13
13
  )
14
- batch_api.create(body: contacts_object, auth_names: 'oauth2')
14
+ batch_api.create(contacts_object, auth_names: 'oauth2')
15
15
  end
16
16
 
17
17
  private
@@ -8,7 +8,7 @@ module Services
8
8
 
9
9
  def call
10
10
  create_api = ::Hubspot::Crm::Contacts::BasicApi.new
11
- create_api.create(body: contact_input, auth_names: 'oauth2')
11
+ create_api.create(contact_input, auth_names: 'oauth2')
12
12
  end
13
13
 
14
14
  private
@@ -8,7 +8,7 @@ module Services
8
8
 
9
9
  def call
10
10
  search_api = ::Hubspot::Crm::Contacts::SearchApi.new
11
- results = search_api.do_search(body: search_request, auth_names: 'oauth2').results
11
+ results = search_api.do_search(search_request, auth_names: 'oauth2').results
12
12
  results = add_fullnames(results)
13
13
  results
14
14
  end
@@ -9,8 +9,7 @@ module Services
9
9
 
10
10
  def call
11
11
  basic_api = ::Hubspot::Crm::Contacts::BasicApi.new
12
- params = { auth_names: 'oauth2', body: contact_input }
13
- basic_api.update(@id, params)
12
+ basic_api.update(@id, contact_input, auth_names: 'oauth2')
14
13
  end
15
14
 
16
15
  private
@@ -11,7 +11,7 @@ module Services
11
11
  ids_object = ::Hubspot::Crm::Contacts::BatchInputSimplePublicObjectId.new(
12
12
  inputs: @ids
13
13
  )
14
- batch_api.archive(body: ids_object , auth_names: 'oauth2')
14
+ batch_api.archive(ids_object , auth_names: 'oauth2')
15
15
  end
16
16
 
17
17
  private
@@ -11,7 +11,7 @@ module Services
11
11
  contacts_object = ::Hubspot::Crm::Contacts::BatchInputSimplePublicObjectInput.new(
12
12
  inputs: contacts
13
13
  )
14
- batch_api.create(body: contacts_object, auth_names: 'oauth2')
14
+ batch_api.create(contacts_object, auth_names: 'oauth2')
15
15
  end
16
16
 
17
17
  private
@@ -10,7 +10,7 @@ module Services
10
10
  end
11
11
 
12
12
  def call
13
- @search_api.do_search(body: search_request, auth_names: 'oauth2').results
13
+ @search_api.do_search(search_request, auth_names: 'oauth2').results
14
14
  end
15
15
 
16
16
  private
@@ -8,8 +8,7 @@ module Services
8
8
 
9
9
  def call
10
10
  core_api = ::Hubspot::Crm::Properties::CoreApi.new
11
- params = { auth_names: 'oauth2', body: property_create }
12
- core_api.create('contact',params)
11
+ core_api.create('contact', property_create, auth_names: 'oauth2')
13
12
  end
14
13
 
15
14
  private
@@ -0,0 +1,6 @@
1
+ HUBSPOT_CLIENT_ID=8a79cddf-c799-4905-8926-ca0e740f75f7
2
+ HUBSPOT_CLIENT_SECRET=22d18561-69ca-41be-822d-27282f792928
3
+ HUBSPOT_DEVELOPER_API_KEY=9162a6fd-8f68-4892-a606-00b7693648fa
4
+ HUBSPOT_API_KEY=03802da8-d112-444b-bfa0-73d34048067e
5
+ HUBSPOT_PORTAL_ID=6728945
6
+ HUBSPOT_APPLICATION_ID=211084
@@ -0,0 +1,5 @@
1
+ HUBSPOT_CLIENT_ID=
2
+ HUBSPOT_CLIENT_SECRET=
3
+ HUBSPOT_APPLICATION_ID=
4
+ HUBSPOT_PORTAL_ID=
5
+ HUBSPOT_DEVELOPER_API_KEY=
@@ -0,0 +1,35 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+ /db/*.sqlite3-journal
13
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*
16
+ /tmp/*
17
+ !/log/.keep
18
+ !/tmp/.keep
19
+
20
+ # Ignore uploaded files in development
21
+ /storage/*
22
+ !/storage/.keep
23
+
24
+ /node_modules
25
+ /yarn-error.log
26
+
27
+ /public/assets
28
+ .byebug_history
29
+
30
+ # Ignore master key for decrypting credentials and more.
31
+ /config/master.key
32
+
33
+ .rubocop.yml
34
+ .env
35
+ .env.test
@@ -0,0 +1 @@
1
+ --require spec_helper
@@ -0,0 +1 @@
1
+ ruby-2.6.3
@@ -0,0 +1,22 @@
1
+ FROM ruby:2.6.3
2
+ RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
3
+ RUN mkdir /hubspot-api-client
4
+
5
+ COPY ./lib /hubspot-api-client/lib
6
+ COPY ./sample-apps /hubspot-api-client/sample-apps
7
+ COPY ./spec /hubspot-api-client/spec
8
+ COPY ./Gemfile /hubspot-api-client/Gemfile
9
+ COPY ./Gemfile.lock /hubspot-api-client/Gemfile.lock
10
+ COPY ./hubspot-api-client.gemspec /hubspot-api-client/hubspot-api-client.gemspec
11
+
12
+ WORKDIR /hubspot-api-client/sample-apps/timeline-events-app
13
+ RUN bundle install
14
+
15
+ # Add a script to be executed every time the container starts.
16
+ COPY ./sample-apps/timeline-events-app/docker-entrypoint.sh /usr/bin/
17
+ RUN chmod +x /usr/bin/docker-entrypoint.sh
18
+ ENTRYPOINT ["docker-entrypoint.sh"]
19
+ EXPOSE 3000
20
+
21
+ # Start the main process.
22
+ CMD ["rails", "server", "-b", "0.0.0.0"]