class RPCoder::Type
Attributes
description[RW]
name[RW]
Public Instance Methods
add_field(name, type, options = {})
click to toggle source
# File lib/rpcoder/type.rb, line 11 def add_field(name, type, options = {}) fields << Field.new(name, type, options) end
fields()
click to toggle source
# File lib/rpcoder/type.rb, line 7 def fields @fields ||= [] end