mailroute 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. data/.gitignore +18 -0
  2. data/.ruby-gemset +1 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +87 -0
  7. data/Guardfile +11 -0
  8. data/LICENSE.txt +22 -0
  9. data/README.md +57 -0
  10. data/Rakefile +42 -0
  11. data/lib/mailroute.rb +34 -0
  12. data/lib/mailroute/check_connection.rb +21 -0
  13. data/lib/mailroute/configuration.rb +24 -0
  14. data/lib/mailroute/extensions/active_resource/better_connection_error.rb +10 -0
  15. data/lib/mailroute/extensions/active_resource/formats.rb +19 -0
  16. data/lib/mailroute/extensions/active_resource/has_many.rb +13 -0
  17. data/lib/mailroute/extensions/active_resource/has_one.rb +13 -0
  18. data/lib/mailroute/extensions/active_resource/meta_information.rb +20 -0
  19. data/lib/mailroute/extensions/active_resource/urls_without_json_extension.rb +29 -0
  20. data/lib/mailroute/extensions/object.rb +3 -0
  21. data/lib/mailroute/extensions/relation.rb +59 -0
  22. data/lib/mailroute/models/admin.rb +21 -0
  23. data/lib/mailroute/models/base.rb +193 -0
  24. data/lib/mailroute/models/branding_info.rb +5 -0
  25. data/lib/mailroute/models/customer.rb +10 -0
  26. data/lib/mailroute/models/customer_contact.rb +6 -0
  27. data/lib/mailroute/models/domain.rb +56 -0
  28. data/lib/mailroute/models/domain_alias.rb +6 -0
  29. data/lib/mailroute/models/domain_contact.rb +6 -0
  30. data/lib/mailroute/models/email_account.rb +53 -0
  31. data/lib/mailroute/models/email_account_contact.rb +6 -0
  32. data/lib/mailroute/models/mail_server.rb +6 -0
  33. data/lib/mailroute/models/notification_account_task.rb +24 -0
  34. data/lib/mailroute/models/notification_domain_task.rb +6 -0
  35. data/lib/mailroute/models/outbound_server.rb +6 -0
  36. data/lib/mailroute/models/policy_domain.rb +6 -0
  37. data/lib/mailroute/models/policy_user.rb +6 -0
  38. data/lib/mailroute/models/reseller.rb +10 -0
  39. data/lib/mailroute/models/reseller_contact.rb +6 -0
  40. data/lib/mailroute/models/wblist.rb +7 -0
  41. data/lib/mailroute/version.rb +3 -0
  42. data/mailroute.gemspec +33 -0
  43. data/spec/lib/check_connection_spec.rb +43 -0
  44. data/spec/lib/configuration_spec.rb +17 -0
  45. data/spec/lib/mailroute/models/admin_spec.rb +13 -0
  46. data/spec/lib/mailroute/models/base_spec.rb +21 -0
  47. data/spec/lib/mailroute/models/customer_contact_spec.rb +32 -0
  48. data/spec/lib/mailroute/models/customer_spec.rb +244 -0
  49. data/spec/lib/mailroute/models/domain_alias_spec.rb +27 -0
  50. data/spec/lib/mailroute/models/domain_contact_spec.rb +32 -0
  51. data/spec/lib/mailroute/models/domain_spec.rb +215 -0
  52. data/spec/lib/mailroute/models/email_account_contact_spec.rb +32 -0
  53. data/spec/lib/mailroute/models/email_account_spec.rb +123 -0
  54. data/spec/lib/mailroute/models/mail_server_spec.rb +27 -0
  55. data/spec/lib/mailroute/models/notification_account_task_spec.rb +36 -0
  56. data/spec/lib/mailroute/models/notification_domain_task_spec.rb +19 -0
  57. data/spec/lib/mailroute/models/outbound_server_spec.rb +24 -0
  58. data/spec/lib/mailroute/models/reseller_contact_spec.rb +32 -0
  59. data/spec/lib/mailroute/models/reseller_spec.rb +297 -0
  60. data/spec/lib/mailroute/models/wblist_spec.rb +46 -0
  61. data/spec/spec_helper.rb +26 -0
  62. data/spec/support/custom_matchers.rb +5 -0
  63. data/spec/support/mailroute_configuration_helper.rb +9 -0
  64. data/spec/vcr_cassettes/Mailroute/_check_connection/when_configured_with_correct_credentials/should_return_true.yml +41 -0
  65. data/spec/vcr_cassettes/Mailroute/_check_connection/when_configured_with_incorrect_credentials/should_raise_Unauthorized_error.yml +38 -0
  66. data/spec/vcr_cassettes/Mailroute_Admin/basic_operations/should_perform_basic_read_operations.yml +38 -0
  67. data/spec/vcr_cassettes/Mailroute_Customer/_admins/should_return_a_list_of_its_admins.yml +41 -0
  68. data/spec/vcr_cassettes/Mailroute_Customer/_branding_info/should_return_its_branding_info.yml +79 -0
  69. data/spec/vcr_cassettes/Mailroute_Customer/_contacts/should_return_a_list_of_its_contacts.yml +41 -0
  70. data/spec/vcr_cassettes/Mailroute_Customer/_create_admin/.yml +80 -0
  71. data/spec/vcr_cassettes/Mailroute_Customer/_create_admin/should_be_in_the_list_of_the_customer_s_admins.yml +118 -0
  72. data/spec/vcr_cassettes/Mailroute_Customer/_create_admin/should_have_an_id.yml +80 -0
  73. data/spec/vcr_cassettes/Mailroute_Customer/_create_contact/.yml +80 -0
  74. data/spec/vcr_cassettes/Mailroute_Customer/_create_contact/should_have_a_link_to_the_customer.yml +118 -0
  75. data/spec/vcr_cassettes/Mailroute_Customer/_create_contact/should_save_a_new_contact.yml +118 -0
  76. data/spec/vcr_cassettes/Mailroute_Customer/_create_contact/should_save_the_attributes.yml +118 -0
  77. data/spec/vcr_cassettes/Mailroute_Customer/_create_domain/.yml +80 -0
  78. data/spec/vcr_cassettes/Mailroute_Customer/_create_domain/should_have_a_link_to_the_customer.yml +118 -0
  79. data/spec/vcr_cassettes/Mailroute_Customer/_create_domain/should_save_a_new_domain.yml +118 -0
  80. data/spec/vcr_cassettes/Mailroute_Customer/_create_domain/should_save_the_attributes.yml +118 -0
  81. data/spec/vcr_cassettes/Mailroute_Customer/_create_with_reseller/when_reseller_is_a_reseller_object/should_be_created_with_reseller.yml +118 -0
  82. data/spec/vcr_cassettes/Mailroute_Customer/_create_with_reseller/when_reseller_is_a_reseller_object/should_have_id.yml +80 -0
  83. data/spec/vcr_cassettes/Mailroute_Customer/_create_with_reseller/when_reseller_is_referenced_via_id/should_be_created_with_reseller.yml +118 -0
  84. data/spec/vcr_cassettes/Mailroute_Customer/_create_with_reseller/when_reseller_is_referenced_via_id/should_have_id.yml +80 -0
  85. data/spec/vcr_cassettes/Mailroute_Customer/_create_with_reseller/when_reseller_is_referenced_via_name/should_be_created_with_reseller.yml +156 -0
  86. data/spec/vcr_cassettes/Mailroute_Customer/_create_with_reseller/when_reseller_is_referenced_via_name/should_have_id.yml +118 -0
  87. data/spec/vcr_cassettes/Mailroute_Customer/_delete_admin/when_deleting_an_existing_admin/should_not_be_in_the_list_of_the_customer_s_admins.yml +152 -0
  88. data/spec/vcr_cassettes/Mailroute_Customer/_delete_admin/when_deleting_an_existing_admin/should_not_delete_all_admins.yml +152 -0
  89. data/spec/vcr_cassettes/Mailroute_Customer/_delete_admin/when_trying_to_delete_admin_which_do_not_exist/should_not_fail.yml +79 -0
  90. data/spec/vcr_cassettes/Mailroute_Customer/_domains/should_return_a_list_of_its_domains.yml +79 -0
  91. data/spec/vcr_cassettes/Mailroute_Customer/_filter/by_name/should_return_cusomers_with_a_given_name.yml +41 -0
  92. data/spec/vcr_cassettes/Mailroute_Customer/_filter/by_name__startswith/should_return_cusomers_with_names_starting_with_given_prefix.yml +41 -0
  93. data/spec/vcr_cassettes/Mailroute_Customer/_filter/by_reseller/should_return_all_customers_of_the_given_reseller.yml +41 -0
  94. data/spec/vcr_cassettes/Mailroute_Customer/_get/id/.yml +41 -0
  95. data/spec/vcr_cassettes/Mailroute_Customer/_get/name/.yml +41 -0
  96. data/spec/vcr_cassettes/Mailroute_Customer/_reseller/should_return_the_customer_s_reseller.yml +79 -0
  97. data/spec/vcr_cassettes/Mailroute_Customer/basic_operations/should_perform_basic_read_operations.yml +41 -0
  98. data/spec/vcr_cassettes/Mailroute_Customer/total_count/should_return_number_of_customer_which_matches_search_criteria.yml +41 -0
  99. data/spec/vcr_cassettes/Mailroute_Customer/total_count/should_return_number_of_customer_which_matches_search_criteria3.yml +41 -0
  100. data/spec/vcr_cassettes/Mailroute_Customer/total_count/should_return_total_count_of_customers.yml +41 -0
  101. data/spec/vcr_cassettes/Mailroute_CustomerContact/CRUD/should_create_read_update_and_delete_customer_contacts.yml +340 -0
  102. data/spec/vcr_cassettes/Mailroute_Domain/_create/should_have_an_id.yml +80 -0
  103. data/spec/vcr_cassettes/Mailroute_Domain/_create/should_save_all_attributes.yml +80 -0
  104. data/spec/vcr_cassettes/Mailroute_Domain/_domain_aliases/should_return_a_list_of_its_domain_aliases.yml +155 -0
  105. data/spec/vcr_cassettes/Mailroute_Domain/black_white_list/should_blacklist_and_whitelist_emails.yml +386 -0
  106. data/spec/vcr_cassettes/Mailroute_Domain/has_a_notification_task/should_have_notification_task.yml +249 -0
  107. data/spec/vcr_cassettes/Mailroute_Domain/has_a_policy/should_have_policy.yml +79 -0
  108. data/spec/vcr_cassettes/Mailroute_Domain/has_many_aliases/should_list_create_and_delete_domain_aliases.yml +195 -0
  109. data/spec/vcr_cassettes/Mailroute_Domain/has_many_contacts/should_list_create_and_delete_contacts.yml +379 -0
  110. data/spec/vcr_cassettes/Mailroute_Domain/has_many_email_accounts/should_be_possible_to_bulk_create_email_accounts.yml +192 -0
  111. data/spec/vcr_cassettes/Mailroute_Domain/has_many_email_accounts/should_list_and_create_email_accounts.yml +411 -0
  112. data/spec/vcr_cassettes/Mailroute_Domain/has_many_mail_servers/should_list_create_and_delete_mail_servers.yml +306 -0
  113. data/spec/vcr_cassettes/Mailroute_Domain/has_many_outbound_servers/should_list_create_and_delete_outbound_servers.yml +306 -0
  114. data/spec/vcr_cassettes/Mailroute_Domain/move_to_customer/should_move_domain_to_another_customer.yml +230 -0
  115. data/spec/vcr_cassettes/Mailroute_DomainAlias/should_be_possible_to_create_read_update_and_delete_domain_aliases.yml +532 -0
  116. data/spec/vcr_cassettes/Mailroute_DomainContact/CRUD/should_create_read_update_and_delete_domain_contacts.yml +340 -0
  117. data/spec/vcr_cassettes/Mailroute_EmailAccount/_get/by_id/should_return_an_account.yml +41 -0
  118. data/spec/vcr_cassettes/Mailroute_EmailAccount/_get/by_localpart_and_domain/should_return_an_account.yml +79 -0
  119. data/spec/vcr_cassettes/Mailroute_EmailAccount/_get/by_localpart_and_domain_id/should_return_an_account.yml +41 -0
  120. data/spec/vcr_cassettes/Mailroute_EmailAccount/_get/by_localpart_and_domain_name/should_return_an_account.yml +171 -0
  121. data/spec/vcr_cassettes/Mailroute_EmailAccount/_set_password/should_set_the_password.yml +78 -0
  122. data/spec/vcr_cassettes/Mailroute_EmailAccount/black_white_list/should_blacklist_and_whitelist_emails.yml +194 -0
  123. data/spec/vcr_cassettes/Mailroute_EmailAccount/has_contact/should_have_contact.yml +79 -0
  124. data/spec/vcr_cassettes/Mailroute_EmailAccount/has_domain/should_have_domain.yml +79 -0
  125. data/spec/vcr_cassettes/Mailroute_EmailAccount/has_notification_task/should_have_notification_task.yml +79 -0
  126. data/spec/vcr_cassettes/Mailroute_EmailAccount/has_policy/should_have_policy.yml +79 -0
  127. data/spec/vcr_cassettes/Mailroute_EmailAccount/should_be_possible_to_create_read_update_and_delete_email_accounts.yml +532 -0
  128. data/spec/vcr_cassettes/Mailroute_EmailAccountContact/CRUD/should_create_read_update_and_delete_email_account_contacts.yml +302 -0
  129. data/spec/vcr_cassettes/Mailroute_MailServer/should_be_possible_to_create_read_update_and_delete_mail_servers.yml +532 -0
  130. data/spec/vcr_cassettes/Mailroute_NotificationAccountTask/RU/should_read_and_update_tasks.yml +116 -0
  131. data/spec/vcr_cassettes/Mailroute_NotificationAccountTask/priorities/should_change_the_priority_of_a_task.yml +344 -0
  132. data/spec/vcr_cassettes/Mailroute_NotificationDomainTask/RU/should_read_and_update_tasks.yml +116 -0
  133. data/spec/vcr_cassettes/Mailroute_OutboundServer/CRUD/should_create_read_update_and_delete_outbound_servers.yml +229 -0
  134. data/spec/vcr_cassettes/Mailroute_Reseller/_admins/should_return_a_list_of_its_admins.yml +77 -0
  135. data/spec/vcr_cassettes/Mailroute_Reseller/_all/should_accept_limit_keyword.yml +39 -0
  136. data/spec/vcr_cassettes/Mailroute_Reseller/_all/should_accept_offset_keyword.yml +75 -0
  137. data/spec/vcr_cassettes/Mailroute_Reseller/_all/should_return_a_list_of_resellers.yml +39 -0
  138. data/spec/vcr_cassettes/Mailroute_Reseller/_bulk_create/should_create_several_resellers.yml +158 -0
  139. data/spec/vcr_cassettes/Mailroute_Reseller/_contacts/should_return_a_list_of_its_contacts.yml +41 -0
  140. data/spec/vcr_cassettes/Mailroute_Reseller/_create/should_create_a_new_reseller.yml +80 -0
  141. data/spec/vcr_cassettes/Mailroute_Reseller/_create_admin/.yml +6718 -0
  142. data/spec/vcr_cassettes/Mailroute_Reseller/_create_admin/should_be_in_the_list_of_the_reseller_s_admins.yml +118 -0
  143. data/spec/vcr_cassettes/Mailroute_Reseller/_create_admin/should_have_an_id.yml +80 -0
  144. data/spec/vcr_cassettes/Mailroute_Reseller/_create_admin/should_have_send_welcome_field_.yml +80 -0
  145. data/spec/vcr_cassettes/Mailroute_Reseller/_create_contact/.yml +80 -0
  146. data/spec/vcr_cassettes/Mailroute_Reseller/_create_contact/address/.yml +80 -0
  147. data/spec/vcr_cassettes/Mailroute_Reseller/_create_contact/city/.yml +80 -0
  148. data/spec/vcr_cassettes/Mailroute_Reseller/_create_contact/email/.yml +80 -0
  149. data/spec/vcr_cassettes/Mailroute_Reseller/_create_contact/should_have_a_link_to_the_reseller.yml +118 -0
  150. data/spec/vcr_cassettes/Mailroute_Reseller/_create_contact/should_save_a_new_contact.yml +118 -0
  151. data/spec/vcr_cassettes/Mailroute_Reseller/_create_contact/should_save_the_attributes.yml +118 -0
  152. data/spec/vcr_cassettes/Mailroute_Reseller/_create_customer/.yml +118 -0
  153. data/spec/vcr_cassettes/Mailroute_Reseller/_create_customer/allow_branding/.yml +118 -0
  154. data/spec/vcr_cassettes/Mailroute_Reseller/_create_customer/name/.yml +118 -0
  155. data/spec/vcr_cassettes/Mailroute_Reseller/_create_customer/should_have_a_link_to_the_reseller.yml +156 -0
  156. data/spec/vcr_cassettes/Mailroute_Reseller/_create_customer/should_save_a_new_contact.yml +118 -0
  157. data/spec/vcr_cassettes/Mailroute_Reseller/_create_customer/should_save_the_attributes.yml +118 -0
  158. data/spec/vcr_cassettes/Mailroute_Reseller/_customers/should_return_a_list_of_its_customers.yml +41 -0
  159. data/spec/vcr_cassettes/Mailroute_Reseller/_delete/should_bulk_delete_a_list_of_resellers.yml +368 -0
  160. data/spec/vcr_cassettes/Mailroute_Reseller/_delete/should_delete_the_reseller.yml +112 -0
  161. data/spec/vcr_cassettes/Mailroute_Reseller/_delete_admin/when_deleting_an_existing_admin/should_not_be_in_the_list_of_the_reseller_s_admins.yml +225 -0
  162. data/spec/vcr_cassettes/Mailroute_Reseller/_delete_admin/when_deleting_an_existing_admin/should_not_delete_all_admins.yml +152 -0
  163. data/spec/vcr_cassettes/Mailroute_Reseller/_delete_admin/when_trying_to_delete_admin_which_do_not_exist/should_not_fail.yml +79 -0
  164. data/spec/vcr_cassettes/Mailroute_Reseller/_filter/should_return_a_list_of_resellers_which_match_the_filter_query.yml +39 -0
  165. data/spec/vcr_cassettes/Mailroute_Reseller/_find/should_raise_error_if_reseller_not_found.yml +37 -0
  166. data/spec/vcr_cassettes/Mailroute_Reseller/_find/should_return_the_reseller.yml +37 -0
  167. data/spec/vcr_cassettes/Mailroute_Reseller/_find/should_return_the_reseller_if_it_exists.yml +39 -0
  168. data/spec/vcr_cassettes/Mailroute_Reseller/_find/should_return_the_reseller_if_it_present.yml +37 -0
  169. data/spec/vcr_cassettes/Mailroute_Reseller/_find/should_return_the_reseller_if_it_preset.yml +73 -0
  170. data/spec/vcr_cassettes/Mailroute_Reseller/_find/should_set_the_name.yml +37 -0
  171. data/spec/vcr_cassettes/Mailroute_Reseller/_limit/should_limit_the_number_of_resellers_returned.yml +79 -0
  172. data/spec/vcr_cassettes/Mailroute_Reseller/_list/should_accept_limit_keyword.yml +39 -0
  173. data/spec/vcr_cassettes/Mailroute_Reseller/_list/should_return_a_list_of_resellers.yml +39 -0
  174. data/spec/vcr_cassettes/Mailroute_Reseller/_offset/should_return_different_pages.yml +75 -0
  175. data/spec/vcr_cassettes/Mailroute_Reseller/_order_by/ascending_order/should_return_ordered_result.yml +41 -0
  176. data/spec/vcr_cassettes/Mailroute_Reseller/_order_by/descending_order/should_return_ordered_result.yml +41 -0
  177. data/spec/vcr_cassettes/Mailroute_Reseller/_save/should_save_the_changes.yml +116 -0
  178. data/spec/vcr_cassettes/Mailroute_Reseller/_search/should_return_a_list_of_resellers_which_match_the_search_query.yml +41 -0
  179. data/spec/vcr_cassettes/Mailroute_Reseller/it_should_retrieve_branding_info/branding_info/.yml +75 -0
  180. data/spec/vcr_cassettes/Mailroute_Reseller/it_should_retrieve_branding_info_/branding_info/.yml +39 -0
  181. data/spec/vcr_cassettes/Mailroute_Reseller/it_should_retrieve_branding_info_ix_/branding_info/.yml +2605 -0
  182. data/spec/vcr_cassettes/Mailroute_Reseller/it_should_retrieve_branding_info_x_/branding_info/.yml +37 -0
  183. data/spec/vcr_cassettes/Mailroute_Reseller/it_should_retrieve_branding_info_xix_/branding_info/.yml +75 -0
  184. data/spec/vcr_cassettes/Mailroute_ResellerContact/CRUD/should_create_read_update_and_delete_reseller_contacts.yml +340 -0
  185. data/spec/vcr_cassettes/Mailroute_WBList/WBList/with_domain/should_create_read_and_update_and_delete_wblists.yml +415 -0
  186. data/spec/vcr_cassettes/Mailroute_WBList/WBList/with_email_account/should_create_read_and_update_and_delete_wblists.yml +267 -0
  187. data/spec/vcr_cassettes/Valid_Reseller.yml +37 -0
  188. data/spec/vcr_cassettes/Valid_Reseller_.yml +39 -0
  189. data/spec/vcr_cassettes/Valid_Reseller_with_Branding_Info.yml +75 -0
  190. metadata +553 -0
@@ -0,0 +1,39 @@
1
+ ---
2
+ recorded_with: VCR 2.4.0
3
+ http_interactions:
4
+ - request:
5
+ method: get
6
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/?limit=10
7
+ body:
8
+ string: ""
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ Authorization:
15
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.2.1
23
+ Vary:
24
+ - Accept, Cookie
25
+ - Accept-Encoding
26
+ Connection:
27
+ - keep-alive
28
+ Cache-Control:
29
+ - no-cache
30
+ Content-Type:
31
+ - application/json; charset=utf-8
32
+ Date:
33
+ - Wed, 27 Feb 2013 19:04:59 GMT
34
+ Transfer-Encoding:
35
+ - chunked
36
+ body:
37
+ string: "{\"meta\": {\"limit\": 10, \"next\": \"/api/v1/reseller/?limit=10&offset=10\", \"offset\": 0, \"previous\": null, \"total_count\": 127}, \"objects\": [{\"absolute_url\": \"/reseller/205/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1611/\", \"created_at\": \"Sun, 24 Feb 2013 06:22:32 -0800\", \"id\": 205, \"name\": \"bdf68a3fde12ba23314762aa305b5ec1\", \"resource_uri\": \"/api/v1/reseller/205/\", \"updated_at\": \"Sun, 24 Feb 2013 06:22:32 -0800\"}, {\"absolute_url\": \"/reseller/101/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1507/\", \"created_at\": \"Sat, 23 Feb 2013 12:10:07 -0800\", \"id\": 101, \"name\": \"bea56460c98fb7a662a96274bd48d147\", \"resource_uri\": \"/api/v1/reseller/101/\", \"updated_at\": \"Sat, 23 Feb 2013 12:10:07 -0800\"}, {\"absolute_url\": \"/reseller/46/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/9/\", \"created_at\": \"Wed, 15 Aug 2012 12:54:40 -0700\", \"id\": 46, \"name\": \"BrainStomp, Inc.\", \"resource_uri\": \"/api/v1/reseller/46/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/13/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/10/\", \"created_at\": \"Thu, 7 Jun 2012 15:29:27 -0700\", \"id\": 13, \"name\": \"Business Technology Solutions Inc.\", \"resource_uri\": \"/api/v1/reseller/13/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/483/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1952/\", \"created_at\": \"Wed, 27 Feb 2013 06:51:30 -0800\", \"id\": 483, \"name\": \"c22cdb9a5293d2904530ff0d19802b8c\", \"resource_uri\": \"/api/v1/reseller/483/\", \"updated_at\": \"Wed, 27 Feb 2013 06:51:30 -0800\"}, {\"absolute_url\": \"/reseller/256/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1666/\", \"created_at\": \"Tue, 26 Feb 2013 04:32:16 -0800\", \"id\": 256, \"name\": \"c2f1e56d8b60dc7a28ba139e805c2f56\", \"resource_uri\": \"/api/v1/reseller/256/\", \"updated_at\": \"Tue, 26 Feb 2013 04:32:16 -0800\"}, {\"absolute_url\": \"/reseller/439/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1897/\", \"created_at\": \"Wed, 27 Feb 2013 06:03:20 -0800\", \"id\": 439, \"name\": \"c33f2402fc22eeb14c2f457852059fc2\", \"resource_uri\": \"/api/v1/reseller/439/\", \"updated_at\": \"Wed, 27 Feb 2013 06:03:20 -0800\"}, {\"absolute_url\": \"/reseller/448/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1909/\", \"created_at\": \"Wed, 27 Feb 2013 06:18:32 -0800\", \"id\": 448, \"name\": \"c947d16b361d6a5007e9cd9d3bb83c81\", \"resource_uri\": \"/api/v1/reseller/448/\", \"updated_at\": \"Wed, 27 Feb 2013 06:18:32 -0800\"}, {\"absolute_url\": \"/reseller/47/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/11/\", \"created_at\": \"Wed, 5 Sep 2012 10:43:10 -0700\", \"id\": 47, \"name\": \"Celera It Services\", \"resource_uri\": \"/api/v1/reseller/47/\", \"updated_at\": \"Sun, 24 Feb 2013 04:57:20 -0800\"}, {\"absolute_url\": \"/reseller/50/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/12/\", \"created_at\": \"Wed, 19 Sep 2012 09:34:52 -0700\", \"id\": 50, \"name\": \"Centurion Data Systems\", \"resource_uri\": \"/api/v1/reseller/50/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}]}"
38
+ http_version:
39
+ recorded_at: Wed, 27 Feb 2013 19:05:00 GMT
@@ -0,0 +1,39 @@
1
+ ---
2
+ recorded_with: VCR 2.4.0
3
+ http_interactions:
4
+ - request:
5
+ method: get
6
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/
7
+ body:
8
+ string: ""
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ Authorization:
15
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.2.1
23
+ Connection:
24
+ - keep-alive
25
+ Vary:
26
+ - Accept, Cookie
27
+ - Accept-Encoding
28
+ Cache-Control:
29
+ - no-cache
30
+ Content-Type:
31
+ - application/json; charset=utf-8
32
+ Date:
33
+ - Wed, 27 Feb 2013 09:08:39 GMT
34
+ Transfer-Encoding:
35
+ - chunked
36
+ body:
37
+ string: "{\"meta\": {\"limit\": 20, \"next\": \"/api/v1/reseller/?limit=20&offset=20\", \"offset\": 0, \"previous\": null, \"total_count\": 120}, \"objects\": [{\"absolute_url\": \"/reseller/279/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1700/\", \"created_at\": \"Tue, 26 Feb 2013 09:43:43 -0800\", \"id\": 279, \"name\": \"a4e41e344283a4a883e9529fb5208064\", \"resource_uri\": \"/api/v1/reseller/279/\", \"updated_at\": \"Tue, 26 Feb 2013 09:43:43 -0800\"}, {\"absolute_url\": \"/reseller/215/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1622/\", \"created_at\": \"Mon, 25 Feb 2013 13:05:34 -0800\", \"id\": 215, \"name\": \"a9a039e5a2f1e849df5a8ea4ed4e8914\", \"resource_uri\": \"/api/v1/reseller/215/\", \"updated_at\": \"Tue, 26 Feb 2013 04:37:44 -0800\"}, {\"absolute_url\": \"/reseller/55/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/2/\", \"created_at\": \"Thu, 8 Nov 2012 11:53:15 -0800\", \"id\": 55, \"name\": \"Accountants Edge\", \"resource_uri\": \"/api/v1/reseller/55/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/21/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/3/\", \"created_at\": \"Thu, 7 Jun 2012 15:37:00 -0700\", \"id\": 21, \"name\": \"AESSI\", \"resource_uri\": \"/api/v1/reseller/21/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/109/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1515/\", \"created_at\": \"Sat, 23 Feb 2013 13:08:40 -0800\", \"id\": 109, \"name\": \"af094f7ccce96f3e122cc8e80b8b1df5\", \"resource_uri\": \"/api/v1/reseller/109/\", \"updated_at\": \"Sat, 23 Feb 2013 13:08:42 -0800\"}, {\"absolute_url\": \"/reseller/11/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/4/\", \"created_at\": \"Thu, 7 Jun 2012 15:28:44 -0700\", \"id\": 11, \"name\": \"AO IT Consulting\", \"resource_uri\": \"/api/v1/reseller/11/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/48/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/5/\", \"created_at\": \"Fri, 7 Sep 2012 17:00:00 -0700\", \"id\": 48, \"name\": \"Aptica, LLC\", \"resource_uri\": \"/api/v1/reseller/48/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/66/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/6/\", \"created_at\": \"Sat, 22 Dec 2012 12:16:36 -0800\", \"id\": 66, \"name\": \"Armour Networks Pty Ltd\", \"resource_uri\": \"/api/v1/reseller/66/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/80/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/7/\", \"created_at\": \"Fri, 1 Feb 2013 14:22:26 -0800\", \"id\": 80, \"name\": \"Azteche.com\", \"resource_uri\": \"/api/v1/reseller/80/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/179/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1585/\", \"created_at\": \"Sun, 24 Feb 2013 06:05:40 -0800\", \"id\": 179, \"name\": \"b3a07c1594d52d6eb2e5c7b36322cb7c\", \"resource_uri\": \"/api/v1/reseller/179/\", \"updated_at\": \"Sun, 24 Feb 2013 06:05:40 -0800\"}, {\"absolute_url\": \"/reseller/276/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1696/\", \"created_at\": \"Tue, 26 Feb 2013 09:41:59 -0800\", \"id\": 276, \"name\": \"b3a740d262bd59046de445a700a621cf\", \"resource_uri\": \"/api/v1/reseller/276/\", \"updated_at\": \"Tue, 26 Feb 2013 09:41:59 -0800\"}, {\"absolute_url\": \"/reseller/175/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1581/\", \"created_at\": \"Sun, 24 Feb 2013 06:03:48 -0800\", \"id\": 175, \"name\": \"b7001333b77359eff8cdf90726eee4fd\", \"resource_uri\": \"/api/v1/reseller/175/\", \"updated_at\": \"Sun, 24 Feb 2013 06:03:48 -0800\"}, {\"absolute_url\": \"/reseller/271/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1684/\", \"created_at\": \"Tue, 26 Feb 2013 04:43:54 -0800\", \"id\": 271, \"name\": \"b700e85a076bef81723111fb2037f3d5\", \"resource_uri\": \"/api/v1/reseller/271/\", \"updated_at\": \"Tue, 26 Feb 2013 04:43:54 -0800\"}, {\"absolute_url\": \"/reseller/107/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1513/\", \"created_at\": \"Sat, 23 Feb 2013 12:58:28 -0800\", \"id\": 107, \"name\": \"b99ba07ed6dab53a6b04fc99aee20edd\", \"resource_uri\": \"/api/v1/reseller/107/\", \"updated_at\": \"Sat, 23 Feb 2013 12:58:30 -0800\"}, {\"absolute_url\": \"/reseller/292/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1713/\", \"created_at\": \"Tue, 26 Feb 2013 13:32:43 -0800\", \"id\": 292, \"name\": \"ba5317347e9a01f4b510f39a3e70f407\", \"resource_uri\": \"/api/v1/reseller/292/\", \"updated_at\": \"Tue, 26 Feb 2013 13:32:43 -0800\"}, {\"absolute_url\": \"/reseller/97/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1503/\", \"created_at\": \"Sat, 23 Feb 2013 11:55:17 -0800\", \"id\": 97, \"name\": \"bc191154c33992ea4fa86156528b2e3d\", \"resource_uri\": \"/api/v1/reseller/97/\", \"updated_at\": \"Sat, 23 Feb 2013 11:55:17 -0800\"}, {\"absolute_url\": \"/reseller/62/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/8/\", \"created_at\": \"Thu, 13 Dec 2012 08:45:11 -0800\", \"id\": 62, \"name\": \"BCG Canada Inc.\", \"resource_uri\": \"/api/v1/reseller/62/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/205/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1611/\", \"created_at\": \"Sun, 24 Feb 2013 06:22:32 -0800\", \"id\": 205, \"name\": \"bdf68a3fde12ba23314762aa305b5ec1\", \"resource_uri\": \"/api/v1/reseller/205/\", \"updated_at\": \"Sun, 24 Feb 2013 06:22:32 -0800\"}, {\"absolute_url\": \"/reseller/101/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1507/\", \"created_at\": \"Sat, 23 Feb 2013 12:10:07 -0800\", \"id\": 101, \"name\": \"bea56460c98fb7a662a96274bd48d147\", \"resource_uri\": \"/api/v1/reseller/101/\", \"updated_at\": \"Sat, 23 Feb 2013 12:10:07 -0800\"}, {\"absolute_url\": \"/reseller/46/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/9/\", \"created_at\": \"Wed, 15 Aug 2012 12:54:40 -0700\", \"id\": 46, \"name\": \"BrainStomp, Inc.\", \"resource_uri\": \"/api/v1/reseller/46/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}]}"
38
+ http_version:
39
+ recorded_at: Wed, 27 Feb 2013 09:08:39 GMT
@@ -0,0 +1,75 @@
1
+ ---
2
+ recorded_with: VCR 2.4.0
3
+ http_interactions:
4
+ - request:
5
+ method: get
6
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/?limit=10&offset=0
7
+ body:
8
+ string: ""
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ Authorization:
15
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.2.1
23
+ Vary:
24
+ - Accept, Cookie
25
+ - Accept-Encoding
26
+ Connection:
27
+ - keep-alive
28
+ Cache-Control:
29
+ - no-cache
30
+ Content-Type:
31
+ - application/json; charset=utf-8
32
+ Date:
33
+ - Wed, 27 Feb 2013 19:08:22 GMT
34
+ Transfer-Encoding:
35
+ - chunked
36
+ body:
37
+ string: "{\"meta\": {\"limit\": 10, \"next\": \"/api/v1/reseller/?limit=10&offset=10\", \"offset\": 0, \"previous\": null, \"total_count\": 127}, \"objects\": [{\"absolute_url\": \"/reseller/205/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1611/\", \"created_at\": \"Sun, 24 Feb 2013 06:22:32 -0800\", \"id\": 205, \"name\": \"bdf68a3fde12ba23314762aa305b5ec1\", \"resource_uri\": \"/api/v1/reseller/205/\", \"updated_at\": \"Sun, 24 Feb 2013 06:22:32 -0800\"}, {\"absolute_url\": \"/reseller/101/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1507/\", \"created_at\": \"Sat, 23 Feb 2013 12:10:07 -0800\", \"id\": 101, \"name\": \"bea56460c98fb7a662a96274bd48d147\", \"resource_uri\": \"/api/v1/reseller/101/\", \"updated_at\": \"Sat, 23 Feb 2013 12:10:07 -0800\"}, {\"absolute_url\": \"/reseller/46/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/9/\", \"created_at\": \"Wed, 15 Aug 2012 12:54:40 -0700\", \"id\": 46, \"name\": \"BrainStomp, Inc.\", \"resource_uri\": \"/api/v1/reseller/46/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/13/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/10/\", \"created_at\": \"Thu, 7 Jun 2012 15:29:27 -0700\", \"id\": 13, \"name\": \"Business Technology Solutions Inc.\", \"resource_uri\": \"/api/v1/reseller/13/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/483/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1952/\", \"created_at\": \"Wed, 27 Feb 2013 06:51:30 -0800\", \"id\": 483, \"name\": \"c22cdb9a5293d2904530ff0d19802b8c\", \"resource_uri\": \"/api/v1/reseller/483/\", \"updated_at\": \"Wed, 27 Feb 2013 06:51:30 -0800\"}, {\"absolute_url\": \"/reseller/256/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1666/\", \"created_at\": \"Tue, 26 Feb 2013 04:32:16 -0800\", \"id\": 256, \"name\": \"c2f1e56d8b60dc7a28ba139e805c2f56\", \"resource_uri\": \"/api/v1/reseller/256/\", \"updated_at\": \"Tue, 26 Feb 2013 04:32:16 -0800\"}, {\"absolute_url\": \"/reseller/439/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1897/\", \"created_at\": \"Wed, 27 Feb 2013 06:03:20 -0800\", \"id\": 439, \"name\": \"c33f2402fc22eeb14c2f457852059fc2\", \"resource_uri\": \"/api/v1/reseller/439/\", \"updated_at\": \"Wed, 27 Feb 2013 06:03:20 -0800\"}, {\"absolute_url\": \"/reseller/448/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1909/\", \"created_at\": \"Wed, 27 Feb 2013 06:18:32 -0800\", \"id\": 448, \"name\": \"c947d16b361d6a5007e9cd9d3bb83c81\", \"resource_uri\": \"/api/v1/reseller/448/\", \"updated_at\": \"Wed, 27 Feb 2013 06:18:32 -0800\"}, {\"absolute_url\": \"/reseller/47/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/11/\", \"created_at\": \"Wed, 5 Sep 2012 10:43:10 -0700\", \"id\": 47, \"name\": \"Celera It Services\", \"resource_uri\": \"/api/v1/reseller/47/\", \"updated_at\": \"Sun, 24 Feb 2013 04:57:20 -0800\"}, {\"absolute_url\": \"/reseller/50/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/12/\", \"created_at\": \"Wed, 19 Sep 2012 09:34:52 -0700\", \"id\": 50, \"name\": \"Centurion Data Systems\", \"resource_uri\": \"/api/v1/reseller/50/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}]}"
38
+ http_version:
39
+ recorded_at: Wed, 27 Feb 2013 19:08:23 GMT
40
+ - request:
41
+ method: get
42
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/?limit=10&offset=10
43
+ body:
44
+ string: ""
45
+ headers:
46
+ Accept:
47
+ - application/json
48
+ Accept-Encoding:
49
+ - identity
50
+ Authorization:
51
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
52
+ response:
53
+ status:
54
+ code: 200
55
+ message: OK
56
+ headers:
57
+ Server:
58
+ - nginx/1.2.1
59
+ Vary:
60
+ - Accept, Cookie
61
+ - Accept-Encoding
62
+ Connection:
63
+ - keep-alive
64
+ Cache-Control:
65
+ - no-cache
66
+ Content-Type:
67
+ - application/json; charset=utf-8
68
+ Date:
69
+ - Wed, 27 Feb 2013 19:08:24 GMT
70
+ Transfer-Encoding:
71
+ - chunked
72
+ body:
73
+ string: "{\"meta\": {\"limit\": 10, \"next\": \"/api/v1/reseller/?limit=10&offset=20\", \"offset\": 10, \"previous\": \"/api/v1/reseller/?limit=10&offset=0\", \"total_count\": 127}, \"objects\": [{\"absolute_url\": \"/reseller/85/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/13/\", \"created_at\": \"Thu, 21 Feb 2013 11:46:30 -0800\", \"id\": 85, \"name\": \"Certified Computer Solutions\", \"resource_uri\": \"/api/v1/reseller/85/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/54/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/14/\", \"created_at\": \"Thu, 1 Nov 2012 14:09:50 -0700\", \"id\": 54, \"name\": \"CommuniGate Systems\", \"resource_uri\": \"/api/v1/reseller/54/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/8/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/15/\", \"created_at\": \"Thu, 7 Jun 2012 15:27:07 -0700\", \"id\": 8, \"name\": \"Consulting Interactive/ Shivvers\", \"resource_uri\": \"/api/v1/reseller/8/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/74/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/16/\", \"created_at\": \"Mon, 14 Jan 2013 13:55:27 -0800\", \"id\": 74, \"name\": \"Consultmark.net\", \"resource_uri\": \"/api/v1/reseller/74/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/18/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/17/\", \"created_at\": \"Thu, 7 Jun 2012 15:35:56 -0700\", \"id\": 18, \"name\": \"Corinthian Networks\", \"resource_uri\": \"/api/v1/reseller/18/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/69/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/18/\", \"created_at\": \"Thu, 3 Jan 2013 09:06:39 -0800\", \"id\": 69, \"name\": \"Cosentry\", \"resource_uri\": \"/api/v1/reseller/69/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/380/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1823/\", \"created_at\": \"Wed, 27 Feb 2013 03:45:54 -0800\", \"id\": 380, \"name\": \"d148b418d75707964e277064b74b5ffc\", \"resource_uri\": \"/api/v1/reseller/380/\", \"updated_at\": \"Wed, 27 Feb 2013 03:45:54 -0800\"}, {\"absolute_url\": \"/reseller/526/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/2011/\", \"created_at\": \"Wed, 27 Feb 2013 07:43:35 -0800\", \"id\": 526, \"name\": \"d18e9aa71f504b11aefc19648eb6fade\", \"resource_uri\": \"/api/v1/reseller/526/\", \"updated_at\": \"Wed, 27 Feb 2013 07:43:35 -0800\"}, {\"absolute_url\": \"/reseller/391/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1836/\", \"created_at\": \"Wed, 27 Feb 2013 03:47:53 -0800\", \"id\": 391, \"name\": \"d2d35068fcff337dcb97071c0360abb2\", \"resource_uri\": \"/api/v1/reseller/391/\", \"updated_at\": \"Wed, 27 Feb 2013 03:47:53 -0800\"}, {\"absolute_url\": \"/reseller/147/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1553/\", \"created_at\": \"Sun, 24 Feb 2013 04:54:35 -0800\", \"id\": 147, \"name\": \"d4bf04fa303a22f4e787b57d2a294bc0\", \"resource_uri\": \"/api/v1/reseller/147/\", \"updated_at\": \"Sun, 24 Feb 2013 04:54:35 -0800\"}]}"
74
+ http_version:
75
+ recorded_at: Wed, 27 Feb 2013 19:08:24 GMT
@@ -0,0 +1,41 @@
1
+ ---
2
+ recorded_with: VCR 2.4.0
3
+ http_interactions:
4
+ - request:
5
+ method: get
6
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/?order_by=name
7
+ body:
8
+ string: ""
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ Authorization:
15
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx/1.2.6
25
+ Connection:
26
+ - keep-alive
27
+ Vary:
28
+ - Accept, Cookie
29
+ - Accept-Encoding
30
+ Cache-Control:
31
+ - no-cache
32
+ Content-Type:
33
+ - application/json; charset=utf-8
34
+ Date:
35
+ - Sat, 16 Mar 2013 14:13:54 GMT
36
+ Transfer-Encoding:
37
+ - chunked
38
+ body:
39
+ string: "{\"meta\": {\"limit\": 20, \"next\": \"/api/v1/reseller/?limit=20&order_by=name&offset=20\", \"offset\": 0, \"previous\": null, \"total_count\": 84}, \"objects\": [{\"absolute_url\": \"/reseller/51/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1/\", \"created_at\": \"Mon, 22 Oct 2012 04:55:38 -0700\", \"id\": 51, \"name\": \"111TEST_RESELLER\", \"resource_uri\": \"/api/v1/reseller/51/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/55/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/2/\", \"created_at\": \"Thu, 8 Nov 2012 03:53:15 -0800\", \"id\": 55, \"name\": \"Accountants Edge\", \"resource_uri\": \"/api/v1/reseller/55/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/21/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/3/\", \"created_at\": \"Thu, 7 Jun 2012 08:37:00 -0700\", \"id\": 21, \"name\": \"AESSI\", \"resource_uri\": \"/api/v1/reseller/21/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/11/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/4/\", \"created_at\": \"Thu, 7 Jun 2012 08:28:44 -0700\", \"id\": 11, \"name\": \"AO IT Consulting\", \"resource_uri\": \"/api/v1/reseller/11/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/48/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/5/\", \"created_at\": \"Fri, 7 Sep 2012 10:00:00 -0700\", \"id\": 48, \"name\": \"Aptica, LLC\", \"resource_uri\": \"/api/v1/reseller/48/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/66/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/6/\", \"created_at\": \"Sat, 22 Dec 2012 04:16:36 -0800\", \"id\": 66, \"name\": \"Armour Networks Pty Ltd\", \"resource_uri\": \"/api/v1/reseller/66/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/80/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/7/\", \"created_at\": \"Fri, 1 Feb 2013 06:22:26 -0800\", \"id\": 80, \"name\": \"Azteche.com\", \"resource_uri\": \"/api/v1/reseller/80/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/62/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/8/\", \"created_at\": \"Thu, 13 Dec 2012 00:45:11 -0800\", \"id\": 62, \"name\": \"BCG Canada Inc.\", \"resource_uri\": \"/api/v1/reseller/62/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/93/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/9/\", \"created_at\": \"Thu, 7 Mar 2013 04:15:03 -0800\", \"id\": 93, \"name\": \"Bleu Inc\", \"resource_uri\": \"/api/v1/reseller/93/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/91/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/10/\", \"created_at\": \"Wed, 6 Mar 2013 02:19:33 -0800\", \"id\": 91, \"name\": \"Blue Chip Computer Services BCCS\", \"resource_uri\": \"/api/v1/reseller/91/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/46/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/11/\", \"created_at\": \"Wed, 15 Aug 2012 05:54:40 -0700\", \"id\": 46, \"name\": \"BrainStomp, Inc.\", \"resource_uri\": \"/api/v1/reseller/46/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/13/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/12/\", \"created_at\": \"Thu, 7 Jun 2012 08:29:27 -0700\", \"id\": 13, \"name\": \"Business Technology Solutions Inc.\", \"resource_uri\": \"/api/v1/reseller/13/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/47/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/13/\", \"created_at\": \"Wed, 5 Sep 2012 03:43:10 -0700\", \"id\": 47, \"name\": \"Celera It Services\", \"resource_uri\": \"/api/v1/reseller/47/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/92/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/14/\", \"created_at\": \"Thu, 7 Mar 2013 04:06:57 -0800\", \"id\": 92, \"name\": \"Centex Systems\", \"resource_uri\": \"/api/v1/reseller/92/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/50/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/15/\", \"created_at\": \"Wed, 19 Sep 2012 02:34:52 -0700\", \"id\": 50, \"name\": \"Centurion Data Systems\", \"resource_uri\": \"/api/v1/reseller/50/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/85/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/16/\", \"created_at\": \"Thu, 21 Feb 2013 03:46:30 -0800\", \"id\": 85, \"name\": \"Certified Computer Solutions\", \"resource_uri\": \"/api/v1/reseller/85/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/54/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/17/\", \"created_at\": \"Thu, 1 Nov 2012 07:09:50 -0700\", \"id\": 54, \"name\": \"CommuniGate Systems\", \"resource_uri\": \"/api/v1/reseller/54/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/87/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/18/\", \"created_at\": \"Tue, 26 Feb 2013 01:26:08 -0800\", \"id\": 87, \"name\": \"Complete IT\", \"resource_uri\": \"/api/v1/reseller/87/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/8/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/19/\", \"created_at\": \"Thu, 7 Jun 2012 08:27:07 -0700\", \"id\": 8, \"name\": \"Consulting Interactive/ Shivvers\", \"resource_uri\": \"/api/v1/reseller/8/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}, {\"absolute_url\": \"/reseller/74/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/20/\", \"created_at\": \"Mon, 14 Jan 2013 05:55:27 -0800\", \"id\": 74, \"name\": \"Consultmark.net\", \"resource_uri\": \"/api/v1/reseller/74/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:13 -0700\"}]}"
40
+ http_version:
41
+ recorded_at: Sat, 16 Mar 2013 14:13:54 GMT
@@ -0,0 +1,41 @@
1
+ ---
2
+ recorded_with: VCR 2.4.0
3
+ http_interactions:
4
+ - request:
5
+ method: get
6
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/?order_by=-name
7
+ body:
8
+ string: ""
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ Authorization:
15
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx/1.2.6
25
+ Connection:
26
+ - keep-alive
27
+ Vary:
28
+ - Accept, Cookie
29
+ - Accept-Encoding
30
+ Cache-Control:
31
+ - no-cache
32
+ Content-Type:
33
+ - application/json; charset=utf-8
34
+ Date:
35
+ - Sat, 16 Mar 2013 14:17:15 GMT
36
+ Transfer-Encoding:
37
+ - chunked
38
+ body:
39
+ string: "{\"meta\": {\"limit\": 20, \"next\": \"/api/v1/reseller/?limit=20&order_by=-name&offset=20\", \"offset\": 0, \"previous\": null, \"total_count\": 84}, \"objects\": [{\"absolute_url\": \"/reseller/12/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/83/\", \"created_at\": \"Thu, 7 Jun 2012 08:28:51 -0700\", \"id\": 12, \"name\": \"Xpansys Limited\", \"resource_uri\": \"/api/v1/reseller/12/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/14/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/82/\", \"created_at\": \"Thu, 7 Jun 2012 08:31:36 -0700\", \"id\": 14, \"name\": \"XFactor Solutions Inc.\", \"resource_uri\": \"/api/v1/reseller/14/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/31/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/81/\", \"created_at\": \"Thu, 7 Jun 2012 09:16:37 -0700\", \"id\": 31, \"name\": \"Xceptional Networks\", \"resource_uri\": \"/api/v1/reseller/31/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/37/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/80/\", \"created_at\": \"Thu, 7 Jun 2012 09:45:31 -0700\", \"id\": 37, \"name\": \"Whipple Hill Communications\", \"resource_uri\": \"/api/v1/reseller/37/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/68/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/79/\", \"created_at\": \"Mon, 31 Dec 2012 05:49:01 -0800\", \"id\": 68, \"name\": \"Web-sites.com\", \"resource_uri\": \"/api/v1/reseller/68/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/40/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/78/\", \"created_at\": \"Thu, 7 Jun 2012 10:09:42 -0700\", \"id\": 40, \"name\": \"Vinko Tsui\", \"resource_uri\": \"/api/v1/reseller/40/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/61/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/77/\", \"created_at\": \"Fri, 7 Dec 2012 01:09:16 -0800\", \"id\": 61, \"name\": \"US Resources\", \"resource_uri\": \"/api/v1/reseller/61/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/72/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/76/\", \"created_at\": \"Mon, 14 Jan 2013 05:47:40 -0800\", \"id\": 72, \"name\": \"UONAUSTIN.COM\", \"resource_uri\": \"/api/v1/reseller/72/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/24/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/75/\", \"created_at\": \"Thu, 7 Jun 2012 08:44:00 -0700\", \"id\": 24, \"name\": \"Tormatrix Limited\", \"resource_uri\": \"/api/v1/reseller/24/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/88/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/74/\", \"created_at\": \"Wed, 27 Feb 2013 04:08:52 -0800\", \"id\": 88, \"name\": \"Ten Plus\", \"resource_uri\": \"/api/v1/reseller/88/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/76/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/73/\", \"created_at\": \"Thu, 24 Jan 2013 00:54:23 -0800\", \"id\": 76, \"name\": \"TechSols\", \"resource_uri\": \"/api/v1/reseller/76/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/17/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/72/\", \"created_at\": \"Thu, 7 Jun 2012 08:34:38 -0700\", \"id\": 17, \"name\": \"Technically Advanced Solutions Pty Ltd\", \"resource_uri\": \"/api/v1/reseller/17/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/44/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/71/\", \"created_at\": \"Thu, 2 Aug 2012 09:09:41 -0700\", \"id\": 44, \"name\": \"Tech Labs Pty Ltd\", \"resource_uri\": \"/api/v1/reseller/44/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/34/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/70/\", \"created_at\": \"Thu, 7 Jun 2012 09:34:36 -0700\", \"id\": 34, \"name\": \"Systems Analysis Services Inc.\", \"resource_uri\": \"/api/v1/reseller/34/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/19/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/69/\", \"created_at\": \"Thu, 7 Jun 2012 08:36:11 -0700\", \"id\": 19, \"name\": \"Shivvers.net\", \"resource_uri\": \"/api/v1/reseller/19/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/77/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/68/\", \"created_at\": \"Thu, 24 Jan 2013 02:41:46 -0800\", \"id\": 77, \"name\": \"Semper Victus\", \"resource_uri\": \"/api/v1/reseller/77/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/45/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/67/\", \"created_at\": \"Fri, 10 Aug 2012 03:45:07 -0700\", \"id\": 45, \"name\": \"Scott Florence\", \"resource_uri\": \"/api/v1/reseller/45/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/25/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/66/\", \"created_at\": \"Thu, 7 Jun 2012 08:45:39 -0700\", \"id\": 25, \"name\": \"Sax Network\", \"resource_uri\": \"/api/v1/reseller/25/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/60/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/65/\", \"created_at\": \"Tue, 4 Dec 2012 02:01:24 -0800\", \"id\": 60, \"name\": \"saguarotech.com\", \"resource_uri\": \"/api/v1/reseller/60/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}, {\"absolute_url\": \"/reseller/59/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/64/\", \"created_at\": \"Sun, 2 Dec 2012 07:38:05 -0800\", \"id\": 59, \"name\": \"ResellerName, Inc.\", \"resource_uri\": \"/api/v1/reseller/59/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}]}"
40
+ http_version:
41
+ recorded_at: Sat, 16 Mar 2013 14:17:15 GMT
@@ -0,0 +1,116 @@
1
+ ---
2
+ recorded_with: VCR 2.4.0
3
+ http_interactions:
4
+ - request:
5
+ method: get
6
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/1382/
7
+ body:
8
+ string: ""
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ Authorization:
15
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx/1.2.1
25
+ Connection:
26
+ - keep-alive
27
+ Vary:
28
+ - Accept, Cookie
29
+ - Accept-Encoding
30
+ Cache-Control:
31
+ - no-cache
32
+ Content-Type:
33
+ - application/json; charset=utf-8
34
+ Date:
35
+ - Sun, 03 Mar 2013 14:26:52 GMT
36
+ Transfer-Encoding:
37
+ - chunked
38
+ body:
39
+ string: "{\"absolute_url\": \"/reseller/1382/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/3374/\", \"created_at\": \"Sat, 2 Mar 2013 15:22:28 -0800\", \"id\": 1382, \"name\": \"011c3e41789dc69402296b304ec443f6\", \"resource_uri\": \"/api/v1/reseller/1382/\", \"updated_at\": \"Sat, 2 Mar 2013 15:22:28 -0800\"}"
40
+ http_version:
41
+ recorded_at: Sun, 03 Mar 2013 14:26:52 GMT
42
+ - request:
43
+ method: put
44
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/1382/
45
+ body:
46
+ string: "{\"absolute_url\":\"/reseller/1382/\",\"allow_branding\":true,\"allow_customer_branding\":false,\"branding_info\":\"/api/v1/brandinginfo/3374/\",\"created_at\":\"Sat, 2 Mar 2013 15:22:28 -0800\",\"id\":1382,\"name\":\"011c3e41789dc69402296b304ec443f6\",\"resource_uri\":\"/api/v1/reseller/1382/\",\"updated_at\":\"Sat, 2 Mar 2013 15:22:28 -0800\"}"
47
+ headers:
48
+ Accept:
49
+ - "*/*"
50
+ Accept-Encoding:
51
+ - identity
52
+ Content-Type:
53
+ - application/json
54
+ Authorization:
55
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
56
+ User-Agent:
57
+ - Ruby
58
+ response:
59
+ status:
60
+ code: 202
61
+ message: ACCEPTED
62
+ headers:
63
+ Server:
64
+ - nginx/1.2.1
65
+ Connection:
66
+ - keep-alive
67
+ Vary:
68
+ - Accept, Cookie
69
+ Content-Type:
70
+ - application/json; charset=utf-8
71
+ Date:
72
+ - Sun, 03 Mar 2013 14:26:53 GMT
73
+ Transfer-Encoding:
74
+ - chunked
75
+ body:
76
+ string: "{\"absolute_url\": \"/reseller/1382/\", \"allow_branding\": true, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/3374/\", \"created_at\": \"Sat, 2 Mar 2013 15:22:28 -0800\", \"id\": 1382, \"name\": \"011c3e41789dc69402296b304ec443f6\", \"pk\": \"1382\", \"resource_uri\": \"/api/v1/reseller/1382/\", \"updated_at\": \"Sun, 3 Mar 2013 06:26:53 -0800\"}"
77
+ http_version:
78
+ recorded_at: Sun, 03 Mar 2013 14:26:53 GMT
79
+ - request:
80
+ method: get
81
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/1382/
82
+ body:
83
+ string: ""
84
+ headers:
85
+ Accept:
86
+ - application/json
87
+ Accept-Encoding:
88
+ - identity
89
+ Authorization:
90
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
91
+ User-Agent:
92
+ - Ruby
93
+ response:
94
+ status:
95
+ code: 200
96
+ message: OK
97
+ headers:
98
+ Server:
99
+ - nginx/1.2.1
100
+ Connection:
101
+ - keep-alive
102
+ Vary:
103
+ - Accept, Cookie
104
+ - Accept-Encoding
105
+ Cache-Control:
106
+ - no-cache
107
+ Content-Type:
108
+ - application/json; charset=utf-8
109
+ Date:
110
+ - Sun, 03 Mar 2013 14:26:55 GMT
111
+ Transfer-Encoding:
112
+ - chunked
113
+ body:
114
+ string: "{\"absolute_url\": \"/reseller/1382/\", \"allow_branding\": true, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/3374/\", \"created_at\": \"Sat, 2 Mar 2013 15:22:28 -0800\", \"id\": 1382, \"name\": \"011c3e41789dc69402296b304ec443f6\", \"resource_uri\": \"/api/v1/reseller/1382/\", \"updated_at\": \"Sun, 3 Mar 2013 06:26:53 -0800\"}"
115
+ http_version:
116
+ recorded_at: Sun, 03 Mar 2013 14:26:55 GMT
@@ -0,0 +1,41 @@
1
+ ---
2
+ recorded_with: VCR 2.4.0
3
+ http_interactions:
4
+ - request:
5
+ method: get
6
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/?q=Data
7
+ body:
8
+ string: ""
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ Authorization:
15
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx/1.2.1
25
+ Connection:
26
+ - keep-alive
27
+ Vary:
28
+ - Accept, Cookie
29
+ - Accept-Encoding
30
+ Cache-Control:
31
+ - no-cache
32
+ Content-Type:
33
+ - application/json; charset=utf-8
34
+ Date:
35
+ - Fri, 01 Mar 2013 11:13:06 GMT
36
+ Transfer-Encoding:
37
+ - chunked
38
+ body:
39
+ string: "{\"meta\": {\"limit\": 20, \"next\": null, \"offset\": 0, \"previous\": null, \"total_count\": 3}, \"objects\": [{\"absolute_url\": \"/reseller/50/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/12/\", \"created_at\": \"Wed, 19 Sep 2012 09:34:52 -0700\", \"id\": 50, \"name\": \"Centurion Data Systems\", \"resource_uri\": \"/api/v1/reseller/50/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/73/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/21/\", \"created_at\": \"Mon, 14 Jan 2013 13:48:04 -0800\", \"id\": 73, \"name\": \"Data Access\", \"resource_uri\": \"/api/v1/reseller/73/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}, {\"absolute_url\": \"/reseller/20/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/22/\", \"created_at\": \"Thu, 7 Jun 2012 15:36:51 -0700\", \"id\": 20, \"name\": \"Datascribe LTD\", \"resource_uri\": \"/api/v1/reseller/20/\", \"updated_at\": \"Fri, 22 Feb 2013 15:29:19 -0800\"}]}"
40
+ http_version:
41
+ recorded_at: Fri, 01 Mar 2013 11:13:07 GMT
@@ -0,0 +1,75 @@
1
+ ---
2
+ recorded_with: VCR 2.4.0
3
+ http_interactions:
4
+ - request:
5
+ method: get
6
+ uri: https://admin-dev.mailroute.net/api/v1/reseller/107/
7
+ body:
8
+ string: ""
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ Authorization:
15
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.2.1
23
+ Vary:
24
+ - Accept, Cookie
25
+ - Accept-Encoding
26
+ Cache-Control:
27
+ - no-cache
28
+ Connection:
29
+ - keep-alive
30
+ Content-Type:
31
+ - application/json; charset=utf-8
32
+ Date:
33
+ - Wed, 27 Feb 2013 15:16:51 GMT
34
+ Transfer-Encoding:
35
+ - chunked
36
+ body:
37
+ string: "{\"absolute_url\": \"/reseller/107/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/1513/\", \"created_at\": \"Sat, 23 Feb 2013 12:58:28 -0800\", \"id\": 107, \"name\": \"b99ba07ed6dab53a6b04fc99aee20edd\", \"resource_uri\": \"/api/v1/reseller/107/\", \"updated_at\": \"Wed, 27 Feb 2013 07:06:21 -0800\"}"
38
+ http_version:
39
+ recorded_at: Wed, 27 Feb 2013 15:16:51 GMT
40
+ - request:
41
+ method: get
42
+ uri: https://admin-dev.mailroute.net/api/v1/brandinginfo/1513/
43
+ body:
44
+ string: ""
45
+ headers:
46
+ Accept:
47
+ - application/json
48
+ Accept-Encoding:
49
+ - identity
50
+ Authorization:
51
+ - ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
52
+ response:
53
+ status:
54
+ code: 200
55
+ message: OK
56
+ headers:
57
+ Server:
58
+ - nginx/1.2.1
59
+ Vary:
60
+ - Accept, Cookie
61
+ - Accept-Encoding
62
+ Cache-Control:
63
+ - no-cache
64
+ Connection:
65
+ - keep-alive
66
+ Content-Type:
67
+ - application/json; charset=utf-8
68
+ Date:
69
+ - Wed, 27 Feb 2013 15:16:52 GMT
70
+ Transfer-Encoding:
71
+ - chunked
72
+ body:
73
+ string: "{\"color\": null, \"created_at\": \"Sat, 23 Feb 2013 12:58:28 -0800\", \"customer\": null, \"domain\": null, \"email_from\": null, \"enabled\": false, \"favicon\": null, \"highlight_color\": null, \"id\": 1513, \"logo\": null, \"reseller\": \"/api/v1/reseller/107/\", \"resource_uri\": \"/api/v1/brandinginfo/1513/\", \"service_name\": null, \"ssl_cert_passphrase\": null, \"ssl_cert_passphrase_set\": false, \"subdomain\": null, \"updated_at\": \"Sat, 23 Feb 2013 12:58:28 -0800\"}"
74
+ http_version:
75
+ recorded_at: Wed, 27 Feb 2013 15:16:52 GMT