I hereby claim:
- I am jozzawockee on github.
- I am jozzawockee (https://keybase.io/jozzawockee) on keybase.
- I have a public key ASA5669Q9T7qY9xQkbzyl6kaDKNorixDkeaxZkYUE4XsYAo
To claim this, I am signing this object:
# Ruby example for exporting Cases to CSV | |
# requires ruby version 1.9.2 | |
# requires oauth and json gems (gem install oauth json) | |
require "rubygems" | |
require "oauth" | |
require "json" | |
require "csv" | |
ASSISTLY_DOMAIN = "domain.assistly.com" |
require 'openssl' | |
require 'base64' | |
key = '7fc4d85e2e4193b8' | |
crypted_text = Base64.decode64(ARGV[0]) | |
cipher = OpenSSL::Cipher::Cipher.new("aes-128-cbc") | |
cipher.decrypt | |
cipher.key = key |
# Replace oauth_consumer_key with your consumer key | |
# Replace oauth_token with your access token | |
# Replace oauth_signature with "your_consumer_secret%26your_access_token_secret" | |
# Note that the oauth_nonce must change and be unique for every request | |
curl -X GET 'https://yoursite.desk.com/api/v1/account/verify_credentials.json' -H 'Authorization: OAuth oauth_version="1.0",oauth_timestamp=1321473112,oauth_nonce=937459123,oauth_signature_method="PLAINTEXT",oauth_consumer_key="nMu4u9pLRfDrxhPVK5yn",oauth_token="ivouGxpsJbyIU5viPKOO",oauth_signature="vLr9MjzowzVwbvREpWhIVQMJQI0G7Pin6KHCoXak%26igQY0L2bcbwonZTC4kG5ulZxTMTDW0K0zIyceSuF"' |
# ... | |
config.middleware.insert_before "Rack::Cache", "SkipCache" | |
# ... |
I hereby claim:
To claim this, I am signing this object: