Sha256: 908aa0a5f687b1a791e206e74f57afb7f58a0f5198337c251f9d1f0c3c7144d5
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 Bytes
Contents
module WorldbankAsDataframe class LendingType attr_reader :raw, :id, :name, :type def self.all find('all') end def self.find(id) WorldbankAsDataframe::ParamQuery.new('lendingTypes', id, self) end def initialize(values={}) @raw = values @id = values['id'] @name = values['value'] @type = 'lendingTypes' end end end
Version data entries
4 entries across 4 versions & 1 rubygems