Sha256: 2c7c065785c28c8dec77b55c1da5e485a1da2be5bfec0dab6405cb1245d8156c
Contents?: true
Size: 530 Bytes
Versions: 14
Compression:
Stored size: 530 Bytes
Contents
module DwollaSwagger # class Unit < BaseObject attr_accessor # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { } end # attribute type def self.swagger_types { } end def initialize(attributes = {}) return if !attributes.is_a?(Hash) || attributes.empty? # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} end end end
Version data entries
14 entries across 14 versions & 1 rubygems