Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lobbyist-ruby / spec / cassettes / company_update.yml
Size: Mime:
---
http_interactions:
- request:
    method: put
    uri: http://localhost:3000/v1/companies/10.json
    body:
      encoding: UTF-8
      string: '{"company":{"address2":"Something new"},"nonce":"2015-12-01 00:22:43
        UTC"}'
    headers:
      User-Agent:
      - Faraday v0.9.2
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Token token="Jz43pwlU1rb4ewhgltWO", signature="39dfc93c4825ca601dd9a7140c69b44a0f7d77dd33cb5b5cda8c5fb45e54314c"
  response:
    status:
      code: 200
      message: 
    headers:
      content-type:
      - application/json; charset=utf-8
      vary:
      - Origin
      x-ua-compatible:
      - IE=Edge
      etag:
      - '"6b192b4e39a2ad7a880c747010b13d12"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _api_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTk2Nzg5MGMxMTk0ODQzM2FmMWJiZDg3YWJhZTA1Mjk1BjsAVA%3D%3D--6a451b2dc6a1c9321e8b3ac7a211f8161409cf39;
        path=/; HttpOnly
      x-request-id:
      - a46ab4dcfe9634b163a31683afbbbb53
      x-runtime:
      - '0.883352'
      connection:
      - close
      server:
      - thin 1.5.1 codename Straight Razor
    body:
      encoding: UTF-8
      string: '{"company_id":10,"enterprise_id":null,"workflow_system_id":null,"account_level_id":15,"company_name":"Jeffrey
        Hunt 1","company_description":"Web development services","address1":"2030
        Addison St Ste 620","address2":"Something new","city":"Berkeley","state":"CA","zip":"94704","latitude":"37.8708165","longitude":"-122.2691955","timezone":"Pacific
        Standard Time","formatted_address":"2030 Addison Street #620, Berkeley, CA
        94704, USA","phone":"8667189549","phone_ext":"","website":"http://www.jeffreyhunt.org","is_active":false,"abbreviated_name":"jeffrey-hunt-1","freetrial_start_date":"2015-09-08T23:07:51Z","signup_admin_id":null,"signup_ip_addr":"","account_terminated":true,"termination_date":"2015-09-09T16:06:03Z","activation_code":null,"account_class":"plus","promo_id":132,"average_score":1.0,"admin_notes":"","customer_call_notes":"thisismynote.","trial_source":"reseller","partner_id":null,"partner_account_id":28,"last_synd_stat_date":"2015-09-09T16:02:50Z","last_credit_grant":"2015-09-09","sales_status":false,"date_live":"2011-04-19T00:00:00Z","country":"US","user_notes":null,"enable_referral_marketing":false,"enable_retention_marketing":false,"last_handwritten_review_credit_grant":"2015-09-09","sugar_lead_id":"ceddd054-71b8-d14e-1fe7-4fa4b374d166","sugar_account_id":"3454c156-0878-9d66-891a-54f7a9a5e5d6","sugar_opportunity_id":"d835b21f-35d0-c496-9473-4ffcb47d2825","created_at":"2008-06-04T23:37:03Z","updated_at":"2015-12-01T00:22:44Z","status":"terminated","sales_user_id":2}'
    http_version: 
  recorded_at: Tue, 01 Dec 2015 00:22:44 GMT
recorded_with: VCR 3.0.0