GithubHelp home page GithubHelp logo

isabella232 / zendesk_api_client_rb_repl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zendesk/zendesk_api_client_rb_repl

0.0 0.0 0.0 5 KB

A REPL to play around with the gem zendesk_api

License: Apache License 2.0

Ruby 100.00%

zendesk_api_client_rb_repl's Introduction

Zendesk API Client, Ruby REPL

This small project is a REPL to play around with the Zendesk API gem.

Bundle, add your test credentials, run it, and you can start investigating the gem. Read main.rb comments for inspiration.

Don't forget to check the gem docs and the API documentation.

Many thanks to the awesome Pry gem and all its friends.

Install and Run

bundle
ZENDESK_API_CLIENT_RB_SUBDOMAIN='my-company' \
ZENDESK_API_CLIENT_RB_USERNAME='[email protected]' \
ZENDESK_API_CLIENT_RB_PASSWORD='***' \
  bundle exec ruby main.rb

If all goes well, you'll get:

From: ~/Code/zendesk_api_client_rb_repl/main.rb:44 :

    39:
    40:   # ** REPL utilities **
    41:   all_resources = ObjectSpace.each_object(Class).select { |k| k < Resource }
    42:
    43:   # ** This is your breakpoint **
 => 44:   binding.pry
    45:
    46:   puts 'Bye!'
    47: end

[1] pry(ZendeskAPI)>

And this is your REPL, have fun!

License and Copyright

See LICENSE.

Copyright 2022 Zendesk.

zendesk_api_client_rb_repl's People

Contributors

ecoologic avatar

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.