jsboulanger / streak-ruby Goto Github PK
View Code? Open in Web Editor NEWRuby bindings for the Streak API (streak.com)
License: MIT License
Ruby bindings for the Streak API (streak.com)
License: MIT License
I can assign the API key as shown in the documentation:
Streak.api_key = 'secret_key'
# do something with the API
problem is this seems to be scoped per method. If I set the key in an initializer it will be lost by the time I call the save
method below.
class Something
def initializer
Streak.api_key = 'secret_key'
end
def save
# do something with the API, API key no longer set
end
end
Is there a way to set the API key without assigning the key in each method separately, in an environment variable or configuration file for example?
Why is the gem explicitly ignoring the SSL cert verification? Is there a good reason and if not, could you please enable the SSL verification?
Thank you!
I may be missing something here, but when dealing with fields (and notes) when pulling from the Box API, I get back on object that stuffs all the values in a @values instance variable. That's great, but I don't see any method for accessing that data, so I've resorted to instance_variable_get (reminds me of the all rails days). Am I going crazy here or should this be refactored somehow?
Contacts have their own API crud. Can we have a model and methods to support them?
There is currently an error in the Streak API when calling stages.
It returns a JSON object and not an array.
https://www.streak.com/api/#stage
I can't find a way how to iterate through all stages.
This might be a new API since you implemented this gem. I may start to fork and file a PR if I have time to do this, unless I'm missing something?
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.