def insert(opts={})
      mirror_api_method = opts[:mirror_api_method] || :subscriptions 
      subscription = mirror_api.subscriptions.insert.request_schema.new(
        collection:   opts[:collection] || DEFAULT_COLLECTION,
        userToken:    user_token,
        verifyToken:  verification_secret,
        callbackUrl:  opts[:callback_url] || client.callback_url,
        operation:    opts[:operations] || DEFAULT_OPERATIONS)
      result = google_client.execute(api_method: mirror_api.send(mirror_api_method).insert,
                                     body_object: subscription)
      result
    end
def insert(opts={})
      mirror_api_method = opts[:mirror_api_method] || :subscriptions 
      subscription = mirror_api.subscriptions.insert.request_schema.new(
        collection:   opts[:collection] || DEFAULT_COLLECTION,
        userToken:    user_token,
        verifyToken:  verification_secret,
        callbackUrl:  opts[:callback_url] || client.callback_url,
        operation:    opts[:operations] || DEFAULT_OPERATIONS)
      result = google_client.execute(api_method: mirror_api.send(mirror_api_method).insert,
                                     body_object: subscription)
      result
    end
Insert a subscription
 optional parameters:
  collection can be :timeline or :locations
  operation is an array of operations subscribed to. Valid values are 'UPDATE', 'INSERT', 'DELETE'