Sha256: 411218d8f30c95d00a7fd819c8f88c353d755b7f5fefa522f9a935e3447f9bd5
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
require_relative 'parameter_description' class RestfulObjects::ParameterDescriptionList extend Forwardable def initialize @parameters = Hash.new end def add(id, definition) @parameters[id] = RestfulObjects::ParameterDescription.new(id, definition, count + 1) end def_delegators :@parameters, :[], :each, :include?, :count, :empty? end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restful_objects-0.0.8 | lib/restful_objects/domain_model/types/parameter_description_list.rb |