invoiced / invoiced-ruby Goto Github PK
View Code? Open in Web Editor NEWOfficial Ruby client library for the Invoiced API
Home Page: https://developer.invoiced.com/api/?ruby
License: MIT License
Official Ruby client library for the Invoiced API
Home Page: https://developer.invoiced.com/api/?ruby
License: MIT License
Hi there we started receiving the following errors today.
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed
Invoiced::ApiConnectionError: (): Failed to verify the Invoiced SSL certificate. Please verify that you have a recent version of OpenSSL installed.
We are on Ruby 2.3.8
We are using gem version 1.1.0 which seems to be the most up to date.
irb(main):005:0> puts OpenSSL::OPENSSL_VERSION
OpenSSL 1.0.2g 1 Mar 2016
This seems like an Invoiced.com issue as you claim to support Ruby 2.1+ ?
Hi Jared. Will be fine to have some andpoint for retrieving customer by email, for example. But I see that email is not unique for customers.
thanks for so fast response. One more thing.
in documentation I found way for sending invoice to customer:
invoice.send
of course this is not working. I going to use this gem in my project. Can you help me with this issue?
Hi! I notice you've committed some code to remove the dependency on ActiveSupport. Any chance you could publish this to RubyGems so that I can take advantage of the change? Thanks very much ๐ธ
I have retrieved invoice.
invoice = invoiced.Invoice.retrieve("{INVOICE_ID}")
try to update notes:
invoice.notes = 'lol'
invoice.save
returns true
but actually doesn't update invoice
When I create invoice I send:
{
date: "2015-10-06T18:00:00.000Z",
due_date: 1445882400000
}
date
saves correct but if change format for date
to 1445882400000
it saves as January 19, 2038
.
if change due_date
to 2015-10-06T18:00:00.000Z
it saves as January 1, 1970
what is the correct format? In doc I see timestamp
but that's wrong.
I'm using Invoiced gem with
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
rails version
Rails 5.1.2
When I run bundle install I got following error:
Bundler could not find compatible versions for gem "activesupport":
In snapshot (Gemfile.lock):
activesupport (= 5.1.2)In Gemfile:
invoiced was resolved to 0.0.2, which depends on
activesupport (~> 4.2.3)rails (~> 5.1.2) was resolved to 5.1.2, which depends on activesupport (= 5.1.2) rails (~> 5.1.2) was resolved to 5.1.2, which depends on activesupport (= 5.1.2) rails (~> 5.1.2) was resolved to 5.1.2, which depends on activesupport (= 5.1.2) rails (~> 5.1.2) was resolved to 5.1.2, which depends on activesupport (= 5.1.2) rails (~> 5.1.2) was resolved to 5.1.2, which depends on activesupport (= 5.1.2) rails (~> 5.1.2) was resolved to 5.1.2, which depends on activesupport (= 5.1.2) rails (~> 5.1.2) was resolved to 5.1.2, which depends on activesupport (= 5.1.2)
Running
bundle update
will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Thank you!
The Invoiced API supports expanding related objects (http://invoiced.com/docs/api/?ruby#special-parameters) to avoid having to make n additional queries for a query such as "All invoices and the associated customers".
Ideally the api for this would be something like:
client.Invoice.list(expand: :customer)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.