Sha256: 9fba9b426cb13481eda44c0423fc8acb306ff5545f5ebd4c66230c8ad7334428
Contents?: true
Size: 244 Bytes
Versions: 6
Compression:
Stored size: 244 Bytes
Contents
module Pwinty class Country < Pwinty::Base attribute :name, Types::String attribute :isoCode, Types::String def self.list response = Pwinty.conn.get("countries") Pwinty.collate_results(response.body['data'], self) end end end
Version data entries
6 entries across 6 versions & 1 rubygems