dragonbox / freshsales Goto Github PK
View Code? Open in Web Editor NEWA wrapper for Freshsales API
License: MIT License
A wrapper for Freshsales API
License: MIT License
Look at the Pending tests to implement. Currently
Pending:
Freshsales::Client making requests GETs hashes with symbolized keys
# Not yet implemented
# ./spec/freshsales/client_spec.rb:52
Freshsales::Client making requests GETs hashes with non symbolized keys
# Not yet implemented
# ./spec/freshsales/client_spec.rb:53
Freshsales::Client making requests POSTs string body
# Not yet implemented
# ./spec/freshsales/client_spec.rb:55
Freshsales::Client making requests POSTs Hash body
# Not yet implemented
# ./spec/freshsales/client_spec.rb:56
Freshsales::Client making requests PUTs string body
# Not yet implemented
# ./spec/freshsales/client_spec.rb:58
Freshsales::Client making requests PUTs Hash body
# Not yet implemented
# ./spec/freshsales/client_spec.rb:59
Freshsales::Client making requests DELETEs
# Not yet implemented
# ./spec/freshsales/client_spec.rb:61
Freshsales::Client making requests converts errors
# Not yet implemented
# ./spec/freshsales/client_spec.rb:63
Freshsales::Cursor#each enumerates when no block given
# Not yet implemented
# ./spec/freshsales/cursor_spec.rb:27
Freshsales::Cursor#each enumerates with blocks
# Not yet implemented
# ./spec/freshsales/cursor_spec.rb:28
Freshsales::RequestBuilder pagination enumerates pages with #get_all_pages
# Not yet implemented
# ./spec/freshsales/request_builder_spec.rb:40
Freshsales::RequestBuilder pagination enumerates elements with #get_all
# Not yet implemented
# ./spec/freshsales/request_builder_spec.rb:41
I am not very fond of the names for the two methods.
Also I would like to make sure they can support more features such as from / to page numbers
/Users/lacostej/Code/WWTK/Backend/freshsales_mailchimp_syncer/.bundle/ruby/3.2.0/gems/freshsales-0.0.6/lib/freshsales/client.rb:45:in `freshsales_request': wrong number of arguments (given 3, expected 2) (ArgumentError)
from /Users/lacostej/Code/WWTK/Backend/freshsales_mailchimp_syncer/.bundle/ruby/3.2.0/gems/freshsales-0.0.6/lib/freshsales/client.rb:10:in `httprequest'
from /Users/lacostej/Code/WWTK/Backend/freshsales_mailchimp_syncer/.bundle/ruby/3.2.0/gems/freshsales-0.0.6/lib/freshsales/request_builder.rb:23:in `method_missing'
from freshsales_dump_data.rb:32:in `dump_entities_from_view'
from freshsales_dump_data.rb:67:in `<main>'
/Users/lacostej/Code/WWTK/Backend/freshsales_mailchimp_syncer/.bundle/ruby/3.2.0/gems/freshsales-0.0.6/lib/freshsales/cursor.rb:35:in `new': tried to create Proc object without a block (ArgumentError)
from /Users/lacostej/Code/WWTK/Backend/freshsales_mailchimp_syncer/.bundle/ruby/3.2.0/gems/freshsales-0.0.6/lib/freshsales/cursor.rb:35:in `each'
from freshsales_dump_data.rb:36:in `dump_entities_from_view'
from freshsales_dump_data.rb:67:in `<main>'
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.