Sha256: 10292c35820020929c52ce02a0c0462e07e1b5777a32d7eafe139f8ead29678d
Contents?: true
Size: 537 Bytes
Versions: 14
Compression:
Stored size: 537 Bytes
Contents
require 'haveapi/go_client/parameters/base' module HaveAPI::GoClient class Parameters::Resource < Parameters::Base handle do |_role, _direction, _name, desc| desc[:type] == 'Resource' end # Pointer to the associated resource # @return [Parameters::Association] attr_reader :association def nillable? true end protected def do_resolve @association = Parameters::Association.new(self, desc) @go_in_type = 'int64' @go_out_type = association.go_type end end end
Version data entries
14 entries across 14 versions & 1 rubygems