cloudprint
cloudprint copied to clipboard
A Ruby library for interacting with Google's Cloud Print service
Hello, This gem has been working properly in the past. Now the exception "Net::ReadTimeout:Net::ReadTimeout" is raised when a job is submitted. What could be the reason for this? I saw...
Hello, Very recently, and out of nowhere, the following error keeps coming up when trying to use client.printers.find(): SocketError: Failed to open TCP connection to www.google.com:443 (getaddrinfo: No address associated...
could you create a example application, on how this should properly be implemented with oauth connecting to google.
Hi. I'm using your gem and it works perfect, almost... I want to print a label for a product, I construct the PDF in my app, no problem, Initialize a...
Google Cloud Print provides a UI State that includes a summary, progress of a job, and a cause for display use. Parsing that information into the `print_job` would help us...
I wanted to display the UI State errors to my users, and Google's already done the work of creating clear error messages.
p = CloudPrint::Client.new(refresh_token: "refresh", client_id: "id", client_secret: "secret", callback_url: "Valid callback url") my_printer = p.printers.find("id") my_printer.print(content: "html", content_type: "text/html") # return nil :(
I'm using this: ``` cp = CloudPrint::Client.new(refresh_token: "sent refresh token valid", client_id: "sent valid id", client_secret: "sent valid secret", callback_url: "Valid callback url") my_printer = cp.printers.find("valid id printer") #get correctly...
OAuth2 depends on Faraday which is a lot nicer to work with than Net::HTTP. Since that dependency is already a given, this gem might as well take advantage of Faraday...