Sha256: e129b4bf40a973fb7c571cd34a9875b011b4923044cca32d76a144eadcce49df
Contents?: true
Size: 621 Bytes
Versions: 8
Compression:
Stored size: 621 Bytes
Contents
# -*- encoding : utf-8 -*- module Exchange module ExternalAPI # The json base class takes care of JSON apis. # This may serve as a base for some operations which might be common to the json apis # @author Beat Richartz # @version 0.6 # @since 0.6 # class Json < Base # Initializer, essentially takes the arguments passed to initialization, loads json on the way # and passes the arguments to the api base # def initialize *args Exchange::GemLoader.new('json').try_load unless defined?(JSON) super *args end end end end
Version data entries
8 entries across 8 versions & 1 rubygems