Sha256: c857193c7f92bef6d20dd06379fc4bcaed058ef8d24ca8a5d2d187f0255f233a
Contents?: true
Size: 850 Bytes
Versions: 1
Compression:
Stored size: 850 Bytes
Contents
require 'digest' require 'hmac-sha1' require 'base64' require 'cgi' module Giggly module Rest class SocializeError < StandardError attr_reader :error_code def initialize(error_data) @error_code = error_data["errorCode"] super(error_data["errorMessage"]) end end class BadRequest < SocializeError; end class Unauthorized < SocializeError; end class Forbidden < SocializeError; end class NotFound < SocializeError; end class RequestEntityTooLarge < SocializeError; end class InternalServerError < SocializeError; end class NotImplemented < SocializeError; end class LengthRequired < SocializeError; end end end directory = File.expand_path(File.dirname(__FILE__)) require File.join(directory, 'rest', 'request') require File.join(directory, 'rest', 'socialize')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
giggly-0.1.1 | lib/giggly/rest.rb |