Code Monkey home page Code Monkey logo

streak-ruby's People

Contributors

jsboulanger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

streak-ruby's Issues

Keep the API key in memory

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?

Ignoring SSL certificates

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!

StreakObject attr accessors

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?

Support for Contacts

Contacts have their own API crud. Can we have a model and methods to support them?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.