Sha256: 6bbd9f73ced9cebb5aa728e45570f5121856da4b98a512aab5e16dd942581681
Contents?: true
Size: 364 Bytes
Versions: 11
Compression:
Stored size: 364 Bytes
Contents
module Grooveshark class InvalidAuthentication < Exception ; end class ReadOnlyAccess < Exception ; end class GeneralError < Exception ; end class ApiError < Exception attr_reader :code def initialize(fault) @code = fault['code'] @message = fault['message'] end def to_s "#{@code} - #{@message}" end end end
Version data entries
11 entries across 11 versions & 1 rubygems