# Pastebin XCY9df4V class ConnectInputs def initialize( base_dn:, bind_dn:, bind_password:, connect_type:, host:, port: ) @base_dn = base_dn, @bind_dn = bind_dn, @bind_password = bind_password, @connect_type = connect_type, @host = host, @port = Integer(port) end def to_json { config: { base_dn: @base_dn, bind_dn: @bind_dn, bind_password: @bind_password, connect_type: @connect_type, host: @host, port: @port } }.to_json end end